Recently I started working on a project which includes both NodeJS and Python application. We planned to Deodorization build process for our project. During Deodorization I faced multiple issues which I eventually solved. I thought of writing a post on my docker experience to help others. Below are the some of my observations/issues I found during my journey
- Using multiple FROM in docker file
- Speed up docker docker builder by NOT copy all files at the same time
- Using RUN stead of CMD
- Use docker exec to run commands on docker container
- Showing docker containers (running docker images)
- Connect to the docker container
docker exec -it CONTAINERID /bin/bash
- How to access host application from docker container
- Expose Port numbers
Refer chanduthedev for more details.
Happy Learning!!!
Top comments (0)