Docker in workspace

I can't seem to run docker containers inside a running workspace. I get an error:
service docker start
/etc/init.d/docker: 62: ulimit: error setting limit (Invalid argument)
service docker start
/etc/init.d/docker: 62: ulimit: error setting limit (Invalid argument)
Is running a docker inside a running VSCode server supported?
8 Replies
Codercord
Codercord•2mo ago
<#1331008590403600455>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
Some Dinosaur
Some DinosaurOP•2mo ago
I've ran this devcontainer raw on my system and the same thing appears - so it must be just Devcontainers thing. But maybne you know how to overcome this anyways?
Phorcys
Phorcys•2mo ago
hey, could you share your devcontainer.json?
Some Dinosaur
Some DinosaurOP•2mo ago
Sorry I passed out. I will get back to it tomorrow 👌
Phorcys
Phorcys•4w ago
happens to me too, sounds good! hey @Some Dinosaur, sorry for the delay, any luck?
Some Dinosaur
Some DinosaurOP•4w ago
The same was happening without Coder. I think it's devcontainers thing. My solution was to remove the ulimit entirely from the file and it just works. so at the exact file it complains, at the exact like there's ulimit 65536 or something, I deleted it and it worked like a charm
Phorcys
Phorcys•4w ago
sounds good!
Codercord
Codercord•4w ago
@Phorcys closed the thread.

Did you find this page helpful?