r7r
r7r

Reputation: 1525

Docker without internet

I am currently working on a project which needs to be deployed on customer infra (which is not cloud) and also it will not have internet.

We currently deploy manually our application and install dependencies using tarball, can docker help us here?

Note:

Upvotes: 0

Views: 3610

Answers (2)

rath
rath

Reputation: 4059

If you have control over your dev environment, you can also use Nexus or Gitlab as your private Docker repository. You can then pull your images from there into production, if it makes sense for your product.

I think the most advantage can be had in your local dev setup. Instead of installing, say, MySQL locally, you can run it as a Docker container. I use docker-compose for all client services in my current project. This helps keep your computer clean, makes it easy to avoid versioning hell (if you use different versions for each release or stage) and you don't have to mess around with configuration for each dev machine.

In my previous job every developer had a local Oracle SQL install, and that was not a happy state of affairs.

Upvotes: 0

Sven Hakvoort
Sven Hakvoort

Reputation: 3621

You can use docker load and docker save to load Docker images in TAR format or export these images. If you package your application files within these images this could be used to deliver your project to your customers.

Also note that the destination services must all have Docker Engine installed and running.

Upvotes: 2

Related Questions