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:
Post a Comment