Skip to content

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

leenput
Copy link

@leenput leenput commented Apr 17, 2025

No description provided.

Copy link
Contributor

@abotzki abotzki left a 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`
Copy link
Contributor

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
Copy link
Contributor

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`
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants