Start a hadoop container with docker in centos7 (installed on a virtual machine)
The order is as follows:
docker run -i -t –name Master2 -h Master2 registry.cn-hangzhou.aliyuncs.com/kaibb/hadoop /bin/bash
Then the following error occurred:
Error response from daemon: updating the store state of sandbox failed: failed to update store for object type * libnetwork.sbState: json: cannot unmarshal object into Go struct field sbState.ExtDNS of type string.
Can you tell me what the problem is, is the docker version lower or does it need to set a non-default DNS?
rm -rf /var/lib/docker
After reading the comments, I felt that if I don’t understand rm and other basic commands, I don’t want to learn docker.