-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# Introduction | ||
# Dockerfiles | ||
|
||
Lab Session 1 - 28 Oct, 2024 | ||
|
||
## Introduction | ||
|
||
The goal of this lab session is to let you practice the creation of | ||
Docker images using Dockerfiles, and the inspectation of Docker | ||
|
@@ -11,54 +15,6 @@ markdown document to the `reports/` directory of this Git repository and | |
fill in your answers. This should be done before the beginning of the | ||
next course. | ||
|
||
# Prerequisite | ||
|
||
This lab session requires the use of Docker Desktop. If you are using | ||
the computer of ESIGELEC, the Docker Desktop is preinstalled. If you are | ||
using your personal computer, please download Docker Desktop from the | ||
official website of Docker, Inc. | ||
|
||
<https://www.docker.com/products/docker-desktop/> | ||
|
||
Run the command `docker -v` to ensure that the `docker` command line is | ||
available in your terminal. Please paste the result below. | ||
|
||
|
||
|
||
*\[answer\]* | ||
|
||
|
||
|
||
|
||
|
||
Tell M. Huang your GitHub accounts so that you can have access to the | ||
target Git repository. | ||
|
||
Clone the Git repository by replacing the `$TEAM` by your actual team in | ||
lowercase. | ||
|
||
``` sh | ||
git clone [email protected]:mincong-h/containers-${TEAM}.git | ||
``` | ||
|
||
For example, if you are in the `red` team: | ||
|
||
``` sh | ||
git clone [email protected]:mincong-h/containers-red.git | ||
``` | ||
|
||
|
||
|
||
Perform the following actions to ensure that the project can be | ||
installed on your machine. | ||
|
||
``` sh | ||
cd containers-red/weekend-server | ||
mvn install | ||
``` | ||
|
||
# Exercises | ||
|
||
## Exercise 1: Create a Java image | ||
|
||
Create a Java image. The image should be built on top of OpenJDK 21 and | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters