Skip to content
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

--keep-container leads to no space left on device #1243

Open
peterschmidt85 opened this issue May 18, 2024 · 4 comments
Open

--keep-container leads to no space left on device #1243

peterschmidt85 opened this issue May 18, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@peterschmidt85
Copy link
Contributor

Steps to reproduce

  1. Add an instance with dstack pool add-ssh
  2. Run multiple runs

Actual:

Cannot create container. Error: Failed to run docker pull or docker create: Cannot create dir for runner: mkdir
/root/.dstack/runners/20240518-152340: no space left on device Check CLI and server logs for more details.

Expected:

Old containers should stay on the instance.

Question: Why do we use --keep-container?

@peterschmidt85 peterschmidt85 added the bug Something isn't working label May 18, 2024
@peterschmidt85
Copy link
Contributor Author

@TheBits Any particular reason why we keep container?

@r4victor
Copy link
Collaborator

@peterschmidt85, the last container should be kept for debugging purposes. There is no good reason to keep all the containers – the previous container should be deleted when a new container is run.

@peterschmidt85
Copy link
Contributor Author

This issue is stale because it has been open for 30 days with no activity.

@jvstme
Copy link
Collaborator

jvstme commented Jun 27, 2024

This bug is also relevant for VM-based cloud backends, not only add-ssh

@jvstme jvstme changed the title --keep-container with dstack pool add-ssh leads to no space left on device --keep-container leads to no space left on device Jun 27, 2024
@jvstme jvstme removed the stale label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants