Docker
Jump to navigation
Jump to search
ToDo: Page is very incomplete. Notes of learning docker here.
The docker-compose.yml
file defines the docker service to run.
The Dockerfile
file defines the actual commands the docker instance should execute once it is created, in order to get our service.
These two files should be put into the same directory. Then cd
into the directory and build it with docker-compose run
.
Finally, start the service with docker-compose up -build -d
.