-
Notifications
You must be signed in to change notification settings - Fork 6
Submission of Docker/Apptainer project microcredentials #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…dded model training container output in /model folder.
…of step-by-step workflow of this project.
…PROJECT-STEPS.md file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @leenput for your submission!
- retrieve the image id using docker images: | ||
`sudo docker images` | ||
- run the container | ||
`sudo docker run -v ./models:/apps/models c2e5fad55e4d` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to make it more reusable I would not use the image ID to run the docker container
# Error after running: outputdir in script needs to be compatible. | ||
# Added mkdir command | ||
COPY train.py . | ||
RUN mkdir -p /models |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain this statement?
- retrieve the image id using docker images: | ||
`sudo docker images` | ||
- run the container | ||
`sudo docker run -v ./models:/apps/models c2e5fad55e4d` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a typo in the command
sudo docker run -v ./models:/apps/models c2e5fad55e4d
- it should be
sudo docker run -v ./models:/app/models model-train:v1.1-python3.11-slim
No description provided.