I
I
Inteli Sense2016-02-11 18:05:25
Software Deployment
Inteli Sense, 2016-02-11 18:05:25

How to deploy a project in Docker on Production?

Docker on windows - assembled infrastructure, working data containers with databases, sources, services. How to send this happiness to a ready-made docker environment?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-02-11
@Aios

well date containers - in any way. You can dump them into images in principle.
In general, the algorithm is as
follows - we push the images to the docker hub (or our own registry / distribution on the server, in this case we must first deploy it somewhere according to the same scheme)
- we add the target remote machine to the docker-machine (general driver) - that puts docker shmokers there and generally configures everything
- with the help of docker-machine env we switch to a remote docker-daemon
- we do docker-compose up -d or whatever you orchestrate everything there. For convenience, there is a separate yml file for making and specifying the images that you pushed.
Ready.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question