Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
dmitry-brazhenkoPublic archive

About

docker_tutorial

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Docker tutorial

Download resources

git clone https://github.com/dmitry-brazhenko/docker_tutorial.git
cd docker_tutorial

Task 1

cd first_example

Launch:

docker build -t first_docker .
docker run -p 8080:8080 first_docker 

Go to localhost:8080. Login: admin, Password: admin

Save docker image (first_docker) to file:

 docker save first_docker > first_docker.tar

Load and run docker image (first_docker) from file:

docker load < first_docker.tar
docker run first_docker

Task 2

cd second_example

Launch docker images:

docker-compose up

Go to localhost:5050 Login: admin@admin.com, Password: root

  • Home assignment: add docker image from task 1 to this composition. Create a database to store Google trends that are generated in task 1

Usefull commands

Remove all Docker containers:

 docker rm -f $(docker ps -a -q)

Remove all Docker images:

docker rmi -f $(docker images -aq)

About

docker_tutorial

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages