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

The container keeps restarting #225

Open
ramoncio opened this issue Sep 14, 2022 · 0 comments
Open

The container keeps restarting #225

ramoncio opened this issue Sep 14, 2022 · 0 comments

Comments

@ramoncio
Copy link

ramoncio commented Sep 14, 2022

Thanks for your nice work, but I can't make it work in my CoreElec (aarch64) box.

I used this composer file in Portainer:

version: "3.3"
services:
  subspace:
   image: subspacecommunity/subspace:latest
   container_name: subspace
   volumes:
    - /storage/dockers/subspace:/data
   ports:
    - 4545:80
   restart: always
   environment:
    - SUBSPACE_HTTP_HOST=subspace.mydomain.duckdns.org
    - SUBSPACE_HTTP_INSECURE=true
    - SUBSPACE_HTTP_ADDR=":80"
    - SUBSPACE_NAMESERVERS=1.1.1.1,8.8.8.8
    - SUBSPACE_LISTENPORT=51820
    - SUBSPACE_IPV6_NAT_ENABLED=0
    - SUBSPACE_DISABLE_DNS=1
   cap_add:
    - NET_ADMIN
   network_mode: "host"

But the container keeps restarting with this error repeating in the logs:

modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.3 (legacy): unknown option "--to"
Try `ip6tables -h' or 'ip6tables --help' for more information.
 # ip6tables --version
ip6tables v1.4.21

I disabled ipv6 in my host with sysctl net.ipv6.conf.default.disable_ipv6=1 probably that's related?
Can't I just disable ipv6 in subspace?

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