Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 17, 2021. It is now read-only.

How to use docker for (almost) continuous delivery to an offline environment

License

NotificationsYou must be signed in to change notification settings

awesome-inc/docker-deploy-offline

Repository files navigation

GitPitch

docker-deploy-offline

How to use docker for (almost) continuous delivery to an offline environment.

Packaging

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 runexport

For motivational purposes wipe everything we just created, i.e.

docker-compose downdocker volume rm dockerdeployoffline_docker_imagesdocker rmi localhost:5000/mycompany/myapp:latest

Deployment

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp