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

Question about Launching via Docker Compose in Ubuntu? #77

Open
johntdavis84 opened this issue Jun 18, 2022 · 1 comment
Open

Question about Launching via Docker Compose in Ubuntu? #77

johntdavis84 opened this issue Jun 18, 2022 · 1 comment

Comments

@johntdavis84
Copy link

Hello.

I've only previously used IPv6nat on my Manjaro (Arch) systems, which made available the installable systemd service.

I'm trying to bring up the container on Ubuntu for the first time, and I can't tell if it worked or not.

Here's what it did:

/mnt/nvme/dockerfs/containers/ipv6nat$ sudo docker compose up
[+] Running 5/5
 ...
[+] Running 1/0
 ⠿ Container ipv6nat  Created                                                                                                                                                                                                                             0.1s
Attaching to ipv6nat

Here's what docker ps says:

CONTAINER ID   IMAGE               COMMAND                  CREATED              STATUS              PORTS     NAMES
97165b30bbfa   robbertkl/ipv6nat   "/docker-ipv6nat-com…"   About a minute ago   Up About a minute             ipv6nat

What's the best way to make sure it's actually working as intended, and that I don't need to also do the tweaking for router advertisements?

@johntdavis84
Copy link
Author

Here's the compose file:

$ cat docker-compose.yml 
version: '3.3'

services:
    ipv6n:
        container_name: ipv6nat
        cap_drop:
          - ALL
        cap_add:
          - NET_ADMIN
          - NET_RAW
          - SYS_MODULE
        network_mode: host
        restart: unless-stopped
        volumes:
            - '/var/run/docker.sock:/var/run/docker.sock:ro'
            - '/lib/modules:/lib/modules:ro'
        image: robbertkl/ipv6nat

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