Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora27 运行失败 #4

Open
ghost opened this issue Jan 30, 2018 · 4 comments
Open

Fedora27 运行失败 #4

ghost opened this issue Jan 30, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 30, 2018

Fedora27 运行失败
[root@toolman toolman17]# docker-compose up -d
ERROR: Couldn't connect to Docker daemon at http://localhost:4243 - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
[root@toolman toolman17]# docker logs qq
Cannot connect to the Docker daemon at tcp://localhost:4243. Is the docker daemon running?

@top-bettercode
Copy link
Owner

这应是你的docker 配置了daemon.请检查一下/etc/docker/daemon.json 配置文件,以及客户端 环境变量 DOCKER_HOST
设置 Docker daemon 的地址。默认使用 unix:///var/run/docker.sock,两边应一致。确认docker 服务已成功启动

@ghost
Copy link
Author

ghost commented Mar 5, 2018

[root@toolman toolman17]# sudo docker-compose up -d
Starting qq ...
Starting qq ... error

ERROR: for qq Cannot start service qq: b'error creating overlay mount to /var/lib/docker/overlay2/f8191e58aca3b12ad5496ce0a5de3f8259f9800a0bbb30f8274cf07b58c274c4/merged: invalid argument'

ERROR: for qq Cannot start service qq: b'error creating overlay mount to /var/lib/docker/overlay2/f8191e58aca3b12ad5496ce0a5de3f8259f9800a0bbb30f8274cf07b58c274c4/merged: invalid argument'
ERROR: Encountered errors while bringing up the project.
[root@toolman toolman17]#
在成功启动一次之后,重启了,然后就出现如上错误

@top-bettercode
Copy link
Owner

你的磁盘格式是不是NTFS?

@ghost
Copy link
Author

ghost commented Mar 5, 2018

[toolman17@toolman ~]$
[toolman17@toolman ~]$ df -T
文件系统 类型 1K-块 已用 可用 已用% 挂载点
devtmpfs devtmpfs 1937368 0 1937368 0% /dev
tmpfs tmpfs 1952208 0 1952208 0% /dev/shm
tmpfs tmpfs 1952208 1884 1950324 1% /run
tmpfs tmpfs 1952208 0 1952208 0% /sys/fs/cgroup
/dev/mapper/fedora-root ext4 51343840 11683060 37022956 24% /
tmpfs tmpfs 1952208 112 1952096 1% /tmp
/dev/sda2 ext4 999320 197528 732980 22% /boot
/dev/sda1 vfat 204580 17420 187160 9% /boot/efi
/dev/mapper/fedora-home ext4 422849128 2819920 398479948 1% /home
tmpfs tmpfs 390440 16 390424 1% /run/user/42
tmpfs tmpfs 390440 8092 382348 3% /run/user/1000
[toolman17@toolman ~]$
不是啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant