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

docker: Cannot start service db (ubuntu) #1

Open
kuroda opened this issue Feb 14, 2019 · 1 comment
Open

docker: Cannot start service db (ubuntu) #1

kuroda opened this issue Feb 14, 2019 · 1 comment

Comments

@kuroda
Copy link
Owner

kuroda commented Feb 14, 2019

docker-compose run web rails new . --force --no-deps --database=postgresql コマンドで次のようなエラーが出る。

ERROR: for dockerbaukis2_db_1  Cannot start service db: cgroups: cannot find cgroup mount destination: unknown

ERROR: for db  Cannot start service db: cgroups: cannot find cgroup mount destination: unknown
ERROR: Encountered errors while bringing up the project.
@kuroda
Copy link
Owner Author

kuroda commented Feb 14, 2019

$ sudo mkdir /sys/fs/cgroup/systemd
$ sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

docker/for-linux#219 (comment)

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