Danielle
Danielle
CCoder.com
Created by Abderrahim on 4/21/2025 in #help
Stopping a workspace via API endpoints
4 replies
CCoder.com
Created by Abderrahim on 4/21/2025 in #help
Stopping a workspace via API endpoints
https://coder.com/docs/reference/api/builds#create-workspace-build If you send a stop transition to this endpoint it will stop a workspace
4 replies
CCoder.com
Created by Roshan on 3/24/2025 in #help
Issue in docker-in-docker devcontainer
@Roshan On the host machine, what does your docker config look like? This is what mine looks like and I can run the following
$ cat /etc/docker/daemon.json
{
"runtimes": {
"sysbox-runc": {
"path": "/usr/bin/sysbox-runc"
}
}
}
$ docker run --rm -it --runtime sysbox-runc nestybox/alpine-docker:latest
/ # dockerd > /var/log/dockerd.log 2>&1 &
/ # docker run --rm -it busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
97e70d161e81: Pull complete
Digest: sha256:37f7b378a29ceb4c551b1b5582e27747b855bbfaa73fa11914fe0df028dc581f
Status: Downloaded newer image for busybox:latest
/ # echo "hello from within a container"
hello from within a container
/ # exit
/ # exit
$ cat /etc/docker/daemon.json
{
"runtimes": {
"sysbox-runc": {
"path": "/usr/bin/sysbox-runc"
}
}
}
$ docker run --rm -it --runtime sysbox-runc nestybox/alpine-docker:latest
/ # dockerd > /var/log/dockerd.log 2>&1 &
/ # docker run --rm -it busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
97e70d161e81: Pull complete
Digest: sha256:37f7b378a29ceb4c551b1b5582e27747b855bbfaa73fa11914fe0df028dc581f
Status: Downloaded newer image for busybox:latest
/ # echo "hello from within a container"
hello from within a container
/ # exit
/ # exit
21 replies
CCoder.com
Created by Asher on 3/18/2025 in #help
Error while install Docker template
I take it you're running on a Mac? If so, what tool are you using to run Docker containers
107 replies
CCoder.com
Created by Asher on 3/18/2025 in #help
Error while install Docker template
# If the coder user does not have write permissions on
# the docker socket, you can uncomment the following
# lines and set the group ID to one that has write
# permissions on the docker socket.
#group_add:
# - "998" # docker group on host
# If the coder user does not have write permissions on
# the docker socket, you can uncomment the following
# lines and set the group ID to one that has write
# permissions on the docker socket.
#group_add:
# - "998" # docker group on host
Did you follow the instructions at this part of the docker-compose file?
107 replies