3 ms·
A way to run claude code inside a apple container - $ container system start $ container run -d --name myubuntu ubuntu:latest sleep infinity $ containe
by mkagenius 8mo ago
A way to run claude code inside a apple container -
$ container system start
$ container run -d --name myubuntu ubuntu:latest sleep infinity
$ container exec myubuntu bash -c "apt-get update -qq && apt-get install -y openssh-server"
$ container exec myubuntu bash -c "
apt-get install -y curl &&
curl -fsSL https://deb.nodesource.com/setup_lts.x |
bash - &&
apt-get install -y nodejs
"
$ container exec myubuntu npm install -g @anthropic-ai/claude-code
$ container exec myubuntu claude --version
- emmelaich 8mo agoThanks, hadn't heard of this! In homebrew, too. https://github.com/apple/container https://github.com/apple/container
- sunnybeetroot 8mo agoLume is also a nice wrapper around it
- terhechte 8mo agoShuru should do exactly what you want: https://shuru.run https://shuru.run