Docker: Difference between revisions
Jump to navigation
Jump to search
Brodriguez (talk | contribs) (Create page) |
(No difference)
|
Revision as of 20:00, 5 July 2023
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.