"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;

July 13, 2020

Docker Mac Days Experiment #1

Finally able to experiment with Docker on Mac. First basic examples

1. Passing arguments to the docker image
2. Install OpenCV
3. Print Image Shape, Can't use imshow inside docker image though :)

Dockerfile - this is case sensitive
1. The contents 
  • Define Workdir the location to default store project documents
  • Packages to install
  • Contents to Copy
  • Entrypoint to Start the code

2. Example code to run inside docker

3. Command to create a docker image
4. Command to run a container

Docker Image Examples





Happy Learning!!!

No comments: