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

Error starting due to error creating /tmp//tmux-1000 (No space left on device) #1

Closed
edewit opened this issue Apr 6, 2020 · 3 comments

Comments

@edewit
Copy link

edewit commented Apr 6, 2020

I start with:
sudo docker run --hostname=testhost -eUSER_ID=me -eUSER_PWD=password --rm -p 8080:8080 gcr.io/vorburger/github.com/vorburger/cloudshell-debian

on localhost:8080 I get:
image

@vorburger vorburger changed the title Error starting Error starting due to error creating /tmp//tmux-1000 (No space left on device) Apr 7, 2020
@vorburger
Copy link
Owner

Thanks for having tried this project out! Hm, interesting.. also curious... it "works for me". So the error is shown in the screenshot is "error creating /tmp//tmux-1000 (No space left on device)" ... that's nothing even directly to this container - it seems like (link!) your docker doesn't let you write to /tmp? I'm not sure how that's possible...

Do you want to try, just for a test, if something like this works (I have not actually ran this command, just made it up):

sudo docker run --hostname=testhost --rm debian:latest echo "hello, world" >/tmp//tmux-1000

Do see what I mean and why I'm suggesting this? Does that work?

@edewit
Copy link
Author

edewit commented Apr 7, 2020

Yes I see, but it seems that is not the problem:

$> sudo docker run --hostname=testhost --rm debian:latest echo "hello, world" >/tmp//tmux-1000
Unable to find image 'debian:latest' locally
latest: Pulling from library/debian
f15005b0235f: Already exists
Digest: sha256:125ab9ab9718f4dba6c3342407bb1923afce4f6b2a12b3a502d818274db9faf9
Status: Downloaded newer image for debian:latest
$> ll /tmp/tmux-1000 
-rw-r--r--. 1 edewit edewit 13 Apr  7 15:18 /tmp/tmux-1000
$> more /tmp/tmux-1000 
hello, world

@edewit
Copy link
Author

edewit commented Apr 7, 2020

I think it has to do with user permissions on the container. I tried to create the file in the container and started and stopped it a couple of times also added --user 1000:1000 on command line to start it and suddenly it started working. Not sure what it was.

@edewit edewit closed this as completed Apr 7, 2020
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

No branches or pull requests

2 participants