Skip to main content

Fail to run docker hello world

After docker installed, it is recommended to check it with below command:

sudo docker run hello-world

When it fails to run, it might be a missing proxy configuration. Docker has its own proxy configuration and it does not use http_proxy variable.

Define docker proxy:

Edit etc/systemd/system/docker.service.d/http-proxy.conf and add proxy under [Service] section:


Environment="http_proxy=http://PROXY_MACHINE_REAL_NAME:8080" "https_proxy=http://PROXY_MACHINE_REAL_NAME:8080" "no_proxy=,localhost,mydyumserver"


Popular posts from this blog

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem.

Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script

Digital signature in pictures

I never remember what happens when digital signature is used. So here is my summary 'Digital signature for dummies'.