28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.04k stars 257 forks source link

docker: cd: /workdir-rw: No such file or directory #60

Closed slayer closed 5 years ago

slayer commented 5 years ago

Hi

I have tried example from README and got error:

gcp-tf $ docker run --cap-add=SYS_ADMIN -it --rm -p 5000:5000 -v $(pwd):/workdir:ro 28mm/blast-radius
mount: /tmp/overlay: cannot mount tmpfs read-only.
/src/docker-entrypoint.sh: line 14: cd: /workdir-rw: No such file or directory
28mm commented 5 years ago

@slayer what kind of system are you trying this on? Is gcp-tf itself a container? I am trying to understand why mount.tmpfs would fail as it does in this case.

I would be interested in the output of the following commands:

$ cat /proc/1/cgroup
$ uname -a
# docker -v

Thanks!

slayer commented 5 years ago

Hi

It is ubuntu 18.10 and gcp-tf is a working directory.

master vlad@red ~/dev/gcp-tf $ docker -v
Docker version 18.09.3, build 774a1f4
master vlad@red ~/dev/gcp-tf $ cat /proc/1/cgroup
12:hugetlb:/
11:rdma:/
10:devices:/
9:cpu,cpuacct:/
8:freezer:/
7:pids:/
6:perf_event:/
5:net_cls,net_prio:/
4:blkio:/
3:cpuset:/
2:memory:/
1:name=systemd:/init.scope
0::/init.scope
master vlad@red ~/dev/gcp-tf $ uname -a
Linux red 4.18.0-16-generic #17-Ubuntu SMP Fri Feb 8 00:06:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
gkapkowski commented 5 years ago

I'm having the dame issue. Ubuntu 18.04

$ cat /proc/1/cgroup
12:blkio:/
11:hugetlb:/
10:freezer:/
9:memory:/
8:rdma:/
7:pids:/
6:net_cls,net_prio:/
5:cpuset:/
4:devices:/
3:cpu,cpuacct:/
2:perf_event:/
1:name=systemd:/init.scope
0::/init.scope

$ uname -a
Linux grzegorz-carbon 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ docker -v
Docker version 18.09.6, build 481bc77
28mm commented 5 years ago

@gkapkowski nice catch, thanks!