vn-docker/README.md

26 lines
484 B
Markdown
Raw Normal View History

# Verdnatura Docker images
2020-01-07 09:22:41 +00:00
2020-01-07 11:14:08 +00:00
Dockerfile and compose files used as basis for service deployment.
2020-01-16 14:09:47 +00:00
To build, tag and push an image you can use the provided *push.sh* script.
2020-01-16 14:09:47 +00:00
## Registry authentication
2022-10-14 17:06:58 +00:00
Login into docker registry, if you don't logout, credentials will remain saved
in your home directory.
2020-01-16 14:09:47 +00:00
```
2022-10-14 17:06:58 +00:00
docker login $registry
2020-01-16 14:09:47 +00:00
```
Logout from docker registry.
2020-01-16 14:09:47 +00:00
```
docker logout $registry
2020-01-16 14:09:47 +00:00
```
## Test image
Run image locally.
2020-01-16 14:09:47 +00:00
```
docker run --name test $registry/$image:$tag
2020-01-16 14:09:47 +00:00
```