Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (47.6k points)

What is your workflow to deploy Docker to production?

1 Answer

0 votes
by (106k points)

Below are some steps which are used for Docker production:-

  1. The code that you write is committed to a bitbucket server after that BitBucket webhook notifies it to Jenkins who starts building the Docker Image.

  2. The other usual stuff such as Build, Test, run functional test cases etc are done by Jenkins pipeline.

  3. You need to build, deploy the Docker image with Docker Maven plugin.

  4. After all the test cases being passed, the image is pushed to docker hub

  5. Jenkins Pipeline then invokes deployment job which basically pulls the docker-compose file from BitBucket and runs the docker stack deploy on the manager node.

If you want to get into the field of cloud computing then I would suggest you must take up the following Docker training Course. For your reference, I am also mentioning a Docker video tutorial which you must watch to learn all the core concepts of Docker.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...