Windshaft-cartodb/docker/reference.md

24 lines
608 B
Markdown
Raw Normal View History

2018-04-27 19:05:52 +08:00
After running the tests with docker, you will need Docker installed and the docker image downloaded.
## Install docker
`sudo apt install docker.io && sudo usermod -aG docker $(whoami)`
## Download image
2018-05-03 23:38:54 +08:00
`docker pull carto/IMAGE`
## Carto account
https://hub.docker.com/r/carto/
2018-04-27 19:05:52 +08:00
## Update image
- Edit the docker image file with your desired changes
2018-10-31 21:47:32 +08:00
- Build image:
2018-05-03 23:38:54 +08:00
- `docker build -t carto/IMAGE -f docker/DOCKER_FILE docker/`
2018-04-27 19:05:52 +08:00
- Upload to docker hub:
2018-10-31 21:47:32 +08:00
- Login into docker hub:
2018-04-27 19:05:52 +08:00
- `docker login`
2018-10-31 21:47:32 +08:00
- Create tag:
2018-05-03 23:38:54 +08:00
- `docker tag carto/IMAGE carto/IMAGE`
2018-10-31 21:47:32 +08:00
- Upload:
2018-05-03 23:38:54 +08:00
- `docker push carto/IMAGE`