Docker

From Dev Wiki
Revision as of 20:00, 5 July 2023 by Brodriguez (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.