diff --git a/docker-compose/itango/Dockerfile b/docker-compose/itango/Dockerfile
index 0a8e915fa4efc26cd329e9556614c38077c9bf9e..5aa452c36e1a0e0495dc7392822999307d529da6 100644
--- a/docker-compose/itango/Dockerfile
+++ b/docker-compose/itango/Dockerfile
@@ -7,5 +7,5 @@ RUN sudo apt-get -y update && \
     sudo aptitude -y install htop iftop iproute2 mc most net-tools tcpdump telnet tmux traceroute vim xterm && \
     sudo aptitude clean && \
     sudo aptitude autoclean && \
-    pip3 install "opcua >= 0.98.9" asyncua astropy
+    sudo pip3 install "opcua >= 0.98.9" asyncua astropy
 
diff --git a/docker-compose/lofar-device-base/Dockerfile b/docker-compose/lofar-device-base/Dockerfile
index cd6b59511f7e0a3e515ab282775edeadec6b9aaf..f5eaf90ab3ae171e9173e3555487b61a6ab1dbc8 100644
--- a/docker-compose/lofar-device-base/Dockerfile
+++ b/docker-compose/lofar-device-base/Dockerfile
@@ -1,4 +1,4 @@
 FROM nexus.engageska-portugal.pt/ska-docker/tango-itango:latest
 
 COPY lofar-requirements.txt /lofar-requirements.txt
-RUN pip3 install -r /lofar-requirements.txt
+RUN sudo pip3 install -r /lofar-requirements.txt
diff --git a/docker-compose/pypcc-sim/Dockerfile b/docker-compose/pypcc-sim/Dockerfile
index 4040339b1dc98ebe8e02b51c6b3b75aab55bb3d4..ce78671500d0ce6e49ecacefd57062e0e7d02b75 100644
--- a/docker-compose/pypcc-sim/Dockerfile
+++ b/docker-compose/pypcc-sim/Dockerfile
@@ -1,7 +1,7 @@
 FROM ubuntu:20.04
 
-RUN apt-get update && apt-get install -y python3 python3-pip python3-yaml git && \
-    pip3 install opcua numpy recordclass && \
+RUN sudo apt-get update && sudo apt-get install -y python3 python3-pip python3-yaml git && \
+    sudo pip3 install opcua numpy recordclass && \
     git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc
 
 WORKDIR /pypcc