26 lines
484 B
Markdown
26 lines
484 B
Markdown
# Verdnatura Docker images
|
|
|
|
Dockerfile and compose files used as basis for service deployment.
|
|
|
|
To build, tag and push an image you can use the provided *push.sh* script.
|
|
|
|
## Registry authentication
|
|
|
|
Login into docker registry, if you don't logout, credentials will remain saved
|
|
in your home directory.
|
|
```
|
|
docker login $registry
|
|
```
|
|
|
|
Logout from docker registry.
|
|
```
|
|
docker logout $registry
|
|
```
|
|
|
|
## Test image
|
|
|
|
Run image locally.
|
|
```
|
|
docker run --name test $registry/$image:$tag
|
|
```
|