Very beginner user. Problems running container in Docker #138
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use the following command to run your Docker image. Replace
If you have a docker desktop running, you can monitor the creation of a new container named Once the Docker container is running, navigate to the mounted directory.
List the files inside your mounted directory.
Image ID Hope this helps. Abhijith |
Beta Was this translation helpful? Give feedback.
Use the following command to run your Docker image. Replace
'mdolab'
with your desired name,'E:\MDO\CRM_Wing'
with the source path on your host machine, and'u18-gcc-ompi-latest'
with your image ID.$ docker run -it --name mdolab --mount "type=bind,src=E:\MDO\CRM_Wing,target=/home/mdolabuser/mount/" mdolab/public:u18-gcc-ompi-latest /bin/bash
If you have a docker desktop running, you can monitor the creation of a new container named
'mdolab'
.Once the Docker container is running, navigate to the mounted directory.
$cd mount
List the files inside your mounted directory.
$ls
Image ID
Hope this helps.
Abhijith