docker-compose
commanddocker-machine
, to create andattach to a small Linux VM on your machine. This VM hostsDocker Engine for you on your Mac.macOS
..pkg
file./usr/local/bin
docker
client to create, load, and manage containers$
dollar sign. You type commands into thecommand line which is the area after the prompt. Your cursor is indicatedby a highlighted area or a |
that appears in the command line. Aftertyping a command, always press RETURN.docker run hello-world
command and press RETURN./Users
directory and mounts it intothe VMs at /Users
. If your project lives elsewhere or needs access to otherdirectories on the host filesystem, you can add them./some/mount/location
into the VM at /your-other-share-hame
,owned by UID 1000 and GID 50.docker
, docker-compose
, and docker-machine
commands fromthe /usr/local/bin
folder. Docker Desktop for Mac and Brew may also haveinstalled them; in case of doubt leave them, or reinstall them via Brew, orrerun Docker Desktop for Mac (no need to reinstall it).~/.docker/machine
directory.