Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.5 KB

docker-readme.md

File metadata and controls

66 lines (42 loc) · 1.5 KB

Docker support

Requirements

  • Docker CE - 19.03.3+
  • Docker Compose - 1.19.0+

How to install or upgrade docker and docker-compose?

Docker:

sudo curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

Notice:If you already have Docker installed, this script can cause trouble. If you installed the current Docker package using this script and are using it again to update Docker. Or use official installation instructions: Mac, Windows, Ubuntu, Other.

Docker Compose:

For linux:

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose

For Mac or Windows take a look on: official guides.

Running containers

You can use docker-compose directly, or the nifty make that comes bundled.

Build images

make build

Starting containers in background:

make up

Start npm watch:

make watch

Run tests

make test

Stop containers

make down

Using docker-compose instead of make

docker-compose up