FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
2 weeks ago
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.
2 weeks ago - last edited 2 weeks ago
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.