This repository documents the completion of all 21 Docker lab tasks for the Advanced Group. All tasks were completed using command-line interface as required.
- All tasks completed via command line
- Report generated in Markdown
- Screenshots included as proof
- Work defended successfully
| # | Task | Command |
|---|---|---|
| 1 | Show docker version | docker --version |
| 2 | Login to Docker Hub | docker login -u devdaga81 |
| 3 | Find debian images | docker search debian |
| 4 | List all images | docker images |
| 5 | List all containers | docker ps -a |
| 6 | List running containers | docker ps |
| 7 | Download Debian: trixie | docker pull debian:trixie |
| 8 | Download Debian: latest | docker pull debian:latest |
| 9 | List all containers | docker ps -a |
| 10 | List running containers | docker ps |
| 11 | List all images | docker images |
| # | Task | Command |
|---|---|---|
| 12 | Launch container by image name | docker run debian:latest |
| 13 | Launch cont-no1 by image ID | docker run --name cont-no1 <image-id> |
| 14 | Launch cont-no2 in interactive mode | docker run -it --name cont-no2 <image-id> |
| 15 | List all containers | docker ps -a |
| 16 | List running containers | docker ps |
| # | Task | Command |
|---|---|---|
| 17 | Create container with cowsay & fortune | docker run debian:latest then install |
| 18 | Prove image was created | docker images |
| 19 | Launch image and show cowsay | docker run devdaga81/my-cow-app |
| 20 | Create Dockerfile | See Dockerfile below |
| 21 | Prove image was created | docker images |
FROM debian:trixie
RUN apt-get update && apt-get install -y cowsay fortune
ENTRYPOINT ["/usr/games/cowsay"]This Dockerfile:
- Uses
debian:trixieas base image - Installs
cowsayandfortunepackages - Sets entrypoint to
/usr/games/cowsay
The custom image was pushed to Docker Hub:
- Image:
devdaga81/my-cow-app - Tag:
latest - Pull Command:
docker pull devdaga81/my-cow-app:latest
The following screenshots provide proof of work completed:
smothkd54
Date: April 2026
























