DEV Community

loading...

docker learning

chanduthedev
I am a developer
Updated on ・1 min read

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

  1. Using multiple FROM in docker file
  2. Speed up docker docker builder by NOT copy all files at the same time
  3. Using RUN stead of CMD
  4. Use docker exec to run commands on docker container
  5. Showing docker containers (running docker images)
  6. Connect to the docker container docker exec -it CONTAINERID /bin/bash
  7. How to access host application from docker container
  8. Expose Port numbers

Refer chanduthedev for more details.

Happy Learning!!!

Discussion (0)