Sign inSign up

gdmtech/dev_server

By gdmtech

•Updated over 6 years ago

Sandbox application

Image
0

1.2K

gdmtech/dev_server repository overview

⁠README

This README would normally document whatever steps are necessary to get the application up and running.

⁠Docker setup

  • start containers in background bin/docker-launcher init
  • load fixtures ./bin/docker-dev run web bundle exec rake db:data:load
  • open in browser http://web.dev_server.docker/admin

⁠Troubleshooting

If new containers cannot be started, and you see the following signals in your system:

  1. Containers show an error before starting, saying something about "prehook 0 not enough space"
  2. Your system logs have lots of lines like:
May 02 16:32:52 dev_server systemd-udevd[12196]: Could not generate persistent MAC address for veth7347af2: No such file or directory
May 02 16:32:52 dev_server systemd-udevd[12197]: Could not generate persistent MAC address for veth7a4ce8a: No such file or directory
  1. The number of mounts is ridicully high: (it should be only one, not 2048)
juan@dev_server:~$ mount | sort | uniq -c | grep -v '   1'
2048 nsfs on /run/docker/netns/087e4c91f740 type nsfs (rw)
2048 nsfs on /run/docker/netns/0a801d3903a1 type nsfs (rw)
2048 nsfs on /run/docker/netns/138c4df37f0f type nsfs (rw)
2048 nsfs on /run/docker/netns/1420c5be5439 type nsfs (rw)
2048 nsfs on /run/docker/netns/1c27f1ec19ff type nsfs (rw)
2048 nsfs on /run/docker/netns/26bfbf73418d type nsfs (rw)

try changing the default MACAddressPolicy to none, as suggested on https://github.com/projectcalico/calico/issues/763#issuecomment-300053032⁠ In the case of ubuntu, that is at /lib/systemd/network/99-default.link

Tag summary

Content type

Image

Digest

Size

494.5 MB

Last updated

over 6 years ago

docker pull gdmtech/dev_server:v1.7.6