Open Nish-Hub opened 4 years ago
Nishant in this project we have to manually create docker image by run docke command and when we run docker command on a project it checks for dockerfile and that way it create docker image i have steps for that noted that how can we create it.
Ohh cool . Any link for these commands I can follow ?
Will provide you here.
Some useful commands of docker:
1. docker start <container_name>
2. docker stop <container_name>
3. docker images
4. docker container ls
5. docker logs <container_name>
6. docker container rm <container_name>
7. docker image rm <image_name>
How does the project know it has to convert it to docker . I saw the source code. It looks like any other spring boot project with normal crud . Is it the docker file with the 4 lines of command which the spring boot automatically invokes to convert it to a docker image ?