Joan Sanchez f03bf72f39 | ||
---|---|---|
apache | ||
certbot | ||
debuild | ||
freeradius | ||
jenkins | ||
mediawiki | ||
phpldapadmin | ||
phpmyadmin | ||
portainer | ||
redmine | ||
reprepro | ||
LICENSE | ||
README.md |
README.md
Docker
Dockerfile and compose files used as basis for service deployment.
Build and push an image
Build the image.
$ docker build -t [registryUrl]/[imageName]:[tag] [folder]
Login into docker registry.
$ docker login [registryUrl]
Push the image.
$ docker push [registryUrl]/[imageName]:[tag]
Logout from docker registry (If you don't logout, credentials will remain saved in your home directory).
$ docker logout [registryUrl]
Test image locally
$ docker run -d --name [containerName] [registryUrl]/[imageName]:[tag]