深雪
深雪
CCoder.com
Created by bruno-laranjo on 10/1/2024 in #help
KasmVNC in coder not working with my personalized template
@bruno-laranjo
20 replies
CCoder.com
Created by bruno-laranjo on 10/1/2024 in #help
KasmVNC in coder not working with my personalized template
can u inspect the page (right click - inspect) and look at console? May need to reload the page to see whats wrong
20 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
what did u do to make systemctl work with sudo?
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
same with sudo
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
hm, i got this error too
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
try this in dockerfile
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
useradd --create-home --shell /bin/bash coder && echo "admin:admin" | chpasswd && adduser admin sudo docker
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
whats the error if u run systemctl with not admin acc?
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
in this way, you dont need sudo or root to run docker commands
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
RUN useradd -G sudo,docker --no-create-home --shell /bin/bash ${USER} \
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
if you check my dockerfile, the coder user is added to the docker group
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
i assue u mean u need sudo or su root to use docker
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
my Dockerfile
FROM ubuntu

RUN apt-get update \
&& apt-get install -y nodejs npm python3 python3-pip openjdk-17-jdk maven \
curl \
git \
golang \
sudo \
vim \
wget \
build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev \
ca-certificates curl iputils-ping

RUN curl -sSL https://get.docker.com/ | sh

RUN rm -rf /var/lib/apt/lists/*


ARG USER=coder
RUN useradd -G sudo,docker --no-create-home --shell /bin/bash ${USER} \
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
&& chmod 0440 /etc/sudoers.d/${USER}
USER ${USER}
RUN sudo npm i -g n
RUN sudo n lts
WORKDIR /home/${USER}
FROM ubuntu

RUN apt-get update \
&& apt-get install -y nodejs npm python3 python3-pip openjdk-17-jdk maven \
curl \
git \
golang \
sudo \
vim \
wget \
build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev \
ca-certificates curl iputils-ping

RUN curl -sSL https://get.docker.com/ | sh

RUN rm -rf /var/lib/apt/lists/*


ARG USER=coder
RUN useradd -G sudo,docker --no-create-home --shell /bin/bash ${USER} \
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
&& chmod 0440 /etc/sudoers.d/${USER}
USER ${USER}
RUN sudo npm i -g n
RUN sudo n lts
WORKDIR /home/${USER}
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
oh yeah? i am using sysbox too, but i am just starting the daemon in the terraform file see this https://pastebin.com/AwcBiH3L
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
systemd wont work normally in container
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
with log redirection
35 replies
CCoder.com
Created by anubis on 9/24/2024 in #help
Docker in Docker with sysbox cant find the deamon
add dockerd & in terraform config
35 replies
CCoder.com
Created by 深雪 on 8/27/2024 in #help
dial tcp 20.205.243.166:443: i/o timeout
okay, thanks for ur assistance
28 replies
CCoder.com
Created by 深雪 on 8/27/2024 in #help
dial tcp 20.205.243.166:443: i/o timeout
yes, still same error
28 replies
CCoder.com
Created by 深雪 on 8/27/2024 in #help
dial tcp 20.205.243.166:443: i/o timeout
i tried this before, wget github.com in the container works well, and dns is already set to 8.8.8.8 in daemon.json
28 replies