- Notifications
You must be signed in to change notification settings - Fork4
How to use docker for (almost) continuous delivery to an offline environment
License
awesome-inc/docker-deploy-offline
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
How to use docker for (almost) continuous delivery to an offline environment.
Start a local registry, then build and push your images
docker-compose up -d registry uidocker-compose builddocker-compose push
You can also configure another registry, that should be used aspull through cache. That enables you to pullcustom images, e.g. from your company registry. To achieve this add the environment variableREGISTRY_PROXY_REMOTEURL todocker-compose.override.yml:
environment:...REGISTRY_PROXY_REMOTEURL:https://<your-awesome-registry>
Afterwards you can just pull your images into your local registry via:
docker pull localhost:5000/<repo>/<image>:<tag>
Fire up the registry frontend onhttp://localhost:8080 and watch your built images.Docker images are contained in the docker volumedocker_images.
After you have pushed all docker images to the registry, export the registry volume container
docker-compose runexportFor motivational purposes wipe everything we just created, i.e.
docker-compose downdocker volume rm dockerdeployoffline_docker_imagesdocker rmi localhost:5000/mycompany/myapp:latest
At the customer site, create & import the registry volume container
docker-compose run import
Finally, start up the registry and you're good to go
docker-compose up -d registry ui
About
How to use docker for (almost) continuous delivery to an offline environment
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors3
Uh oh!
There was an error while loading.Please reload this page.