Intellipaat Back

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

What are some good ways to use Docker for DevOps?

1 Answer

0 votes
by (106k points)

The best way to use Docker for DevOps will be in Automated testing during the build.

The typical module we make is a Java server that stores data in SQL database, NoSQL database or both. The server has a REST API which is exposed via HTTP proxy.

Tests are mostly integration tests that work through REST API only. So, we build java code, build Docker container with it, pair it with database container via docker-compose, launch docker-compose from Java test code, wait till the server is ready, run tests and then delete the containers. Java artefact is then released in the form of deb package while Docker containers are not. If you want to start with Docker then you must have a look at the following Docker Training Course. You can also watch the following Docker video tutorial which will give you an overall insight about Docker and it’s concepts.

.

Browse Categories

...