-
Notifications
You must be signed in to change notification settings - Fork 30
error creating overlay mount to .../merged: invalid argument. #2340
Comments
Thanks for the report. I can't reproduce this on stable, and our CI didn't seem to experience this either. It would be great if you could add additional details on your environment. What is the content of |
I reset the system... # cat /var/lib/update_engine/prefs/aleph-version
1465.8.0 and # docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 1
Server Version: 17.09.1-ce
Storage Driver: overlay
Backing Filesystem: extfs
Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: v0.13.2 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
seccomp
Profile: default
selinux
Kernel Version: 4.14.16-coreos
Operating System: Container Linux by CoreOS 1632.2.1 (Ladybug)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 989.9MiB
Name: iZuf6a8pezooag036yip2wZ
ID: JC5E:7OUR:T224:IAKF:JOA5:6ESW:DJYK:5QTH:MIBM:HZGU:RGIV:IY3H
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false |
Since we don't actually publish images for Alibaba cloud, it's possible the issue is in their image or configuration. If you're able to reproduce this issue on a different platform or figure out more information about the error, that would be helpful. Possible steps to get more information about the error could be:
|
Same issue here. @taadis 有解吗? My friend chat with aliyun cs: (using their public coreos image) Summary: The image is not owned by them. |
Finally, i know how to fix this. Full script: # fix wrong driver
echo '{ "storage-driver": "devicemapper" }' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker.service
# fix aliyun buggy selinux
sudo sed -i 's/SELINUXTYPE=mcs/SELINUXTYPE=targeted/' /etc/selinux/config |
BTW, |
@ill55666 同感 |
@ill55666 给你看看阿里某工程师的解决方案:
好一个解决方法... |
Changing the overlay driver or selinux config shouldn't be necessary. It sounds like the Container Linux image being used might be broken, or the instance's storage might be misbehaving. Unfortunately, since we don't publish or support those images, I don't think there's much we can do on our end to fix these problems. If you do run into this issue on another platform or find more information about why things are broken (e.g. from steps in my previous comment), let us know and we can look again. Best, |
这个问题我的一个解决方案,修改/etc/selinux/config 改SELINUX=disable 改成 SELINUX=permissive 阿里云的coreos一直有这个问题,详细的还没去研究seLinux |
我比较赞同@congjie的解决方法,推荐修改/etc/selinux/config 改SELINUX=disabled 改成 SELINUX=permissive |
Issue Report
Bug
Container Linux Version
Environment
阿里云ECS
Expected Behavior
Actual Behavior
Reproduction Steps
Other Information
The text was updated successfully, but these errors were encountered: