Windshaft-cartodb/docker/reference.md
Daniel García Aubert 33143ea28e Update doc
2019-12-01 13:04:31 +01:00

34 lines
636 B
Markdown

# Testing with Docker
Before running the tests with docker, you'll need Docker installed and the docker image downloaded.
## Install docker
```shell
$ sudo apt install docker.io && sudo usermod -aG docker $(whoami)
```
## Download image
```shell
docker pull carto/IMAGE
```
## Carto account
* `https://hub.docker.com/r/carto/`
## Update image
* Edit the docker image file
* Build image:
* `docker build -t carto/IMAGE -f docker/DOCKER_FILE docker/`
* Upload to docker hub:
* Login into docker hub:
* `docker login`
* Create tag:
* `docker tag carto/IMAGE carto/IMAGE`
* Upload:
* `docker push carto/IMAGE`