Bring Coffee Bring Beer
Bring Coffee Bring Beer

Reputation: 1121

Docker internal private repository for publish and update?

I am just playing with Docker. I have some scripts and Django web apps deployed internally. I would like to publish these in docker containers to an internal private repo and have the deployed containers automatically update.

This is small scale and I am getting a bit lost down paths of AWS, Kubernetes, swarm, etc. being so green I just want to start by being able to deploy and easily update containers completely internal to my organization.

My apologies if I am so new to docker that I am not asking the question the right way.

Thanks for any guidance.

Upvotes: 1

Views: 113

Answers (1)

Ercan Aydogan
Ercan Aydogan

Reputation: 81

You can use continuous integration and continuous deployment model.

For example you can use Jenkins pipeline.

0 ) Setup Private Registry

1 ) Setup Jenkins server

2 ) Add Jenkinsfile to your project

3 ) Use Jenkins Kubernetes Plug-in

After every commit your pipeline can built new docker image, push your private registry and publish your docker image to your kubernetes server.

Currently i am using this and works well on kubernetes.

Upvotes: 1

Related Questions