You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
841 B
841 B
Docker basics and troubleshooting
guide-by-example
Overview
Docker is a container technology that uses the hosts kernel while putting the userland applications into a sandbox. It is much more lightweight than a full-fledged virtual machine, but can only run stuff that can run on host.
Compose is a Docker tool that allows defining containers using a YAML file and run them with a single command.
The purpose of docker and docker-compose is either development or deployment.
Most of the stuff around here is about deployment, how to deploy others people work
Basics
tag - not just version number, tags are not even present on local docker..
ports quotes - always in quotes because in low number it might try to interpret ports as base 60