DEV Community

chanduthedev
chanduthedev

Posted on • Edited on

1

docker learning

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!!!

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more