After installing docker in wsl2 without docker desktop, and using sudo service docker start, we receive a success message, as shown below:
sudo service docker start
* Starting Docker: docker [ OK ]
But when we run dockerd manually with sudo dockerd, we can find our error, as shown below:
ERRO[2022-08-30T09:32:39.000282429-04:00] failed to initialize a tracing processor "otlp" error="no OpenTelemetry endpoint: skip plugin"
To solve this issue, we need to append in /etc/default/docker (ubuntu):
DOCKER_OPTS="--iptables=false"
or
run dockerd as shown below:
sudo dockerd --iptables=false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.