FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
04-24-2024 04:21 PM
Is it possible to run a docker inside a ctrlX App Build Environment?
I could install the docker runtime without problems (so proxy is obviously working), but "docker run" as well as "docker pull" either run into a permission error or - with "sudo" - in "lookup registry-1.docker.io on 127.0.0.53:53: no such host".
Entering in /etc/systemd/system/docker.service.d/10_docker_proxy.conf or http_proxy.conf
[Service]
HTTPS_PROXY=http://10.0.2.2:3128
HTTP_PROXY=http://10.0.2.2:3128
as suggested on StackOverflow had no effect.
Solved! Go to Solution.
04-24-2024 05:45 PM - edited 04-24-2024 06:01 PM
Yes, it is.
Are you behind a proxy? Disconnecting from corporate VPN should allow you to pull the image.
There is a key note in the Docker documentation that is not made very clear...
If you're behind an HTTP or HTTPS proxy server, for example in corporate settings, the daemon proxy configurations must be specified in the systemd service file, not in the daemon.json file or using environment variables.
To configure Docker behind a proxy, follow these instructions.