The following sections summarize installation and setup of Docker on your machine.
- Enable virtualization in your BIOS
- Install Docker for Windows
- Enable virtualization in your BIOS
- Install Docker for Mac
- Install Docker Engine on Docker host machine
- Install docker-compose on docker host and/or local machine
- Create a
.env
file in the same directory asdocker-compose.yml
.
Run docker-compose up --build -d
This starts the configured containers.
- Windows: Run
ifconfig
- OSX: Look for "inet addr:" under the "en0" network interface
- Linux: Look for "inet addr:" under the "eth0" network interface
export GIT_SSL_NO_VERIFY=1
- Bring UP (deploy and start) all containers
docker-compose up -d
- Bring DOWN all containers
docker-compose down
- Lists the running containers under docker-compose
docker-compose ps
- Start a container
docker-compose start <container>
- Restart a container
docker-compose restart <container>
- Stop a container
docker-compose stop <container>
- Stop all containers
docker-compose stop
- Docker builds fail with a
wget: bad address
error