diff --git a/docker/coder-med/Dockerfile b/docker/coder-med/Dockerfile
index 32e3b5ddc4384167a58af2b227446c391516f569..8bf9d74aa69a81eaa076d519d1811e2f9c4a508c 100644
--- a/docker/coder-med/Dockerfile
+++ b/docker/coder-med/Dockerfile
@@ -44,8 +44,8 @@ RUN apt-get install -y \
     vim \
     nano
 
-RUN useradd -ms /bin/bash coder
-RUN usermod -aG sudo coder
+# add ubuntu user to sudo
+RUN usermod -aG sudo ubuntu
 
 # allow sudo without password
 RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
@@ -54,9 +54,9 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
 RUN apt-get clean
 RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
-# switch to coder user
-USER coder
-WORKDIR /home/coder
+# switch to ubuntu user
+USER ubuntu
+WORKDIR /home/ubuntu
 
 # add .local/bin to PATH to be able to directly call python modules installed by pipx
-ENV PATH="${PATH}:/home/coder/.local/bin"
\ No newline at end of file
+ENV PATH="${PATH}:/home/ubuntu/.local/bin"
\ No newline at end of file