Jump to content

theiam79

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by theiam79

  1. Running in to an issue with valheim - when I stop/restart the container, it renames the current {world}.db file to {world}.db.backup and then generates a new db file that is significantly smaller than the existing one. When the server does load with that db, the world is reset back to normal. Any idea what's causing this?

  2. On 5/7/2020 at 1:49 AM, Thx And Bye said:

    I have add a alias that launches docker-compose in a container. It has the benefit of being up-to-date without any modifications:

    
    alias docker-compose='docker run --rm \
        -v /var/run/docker.sock:/var/run/docker.sock \
        -v "$PWD:$PWD" \
        -w="$PWD" \
        docker/compose:latest'

    It has worked great so far for me.

    Interested in doing this, as it seems like its a relatively easy to maintain solution. Would you mind sharing your steps? I'm fairly new to some of the advanced features of Docker.

  3. @bonienl

    Tried messing with it some tonight, wanted to see if using a bridge instead of directly connecting to eth1 made a difference. Unfortunately it did not. From the link you provided it looks like I should be able to use both NICS on the same subnet as long as they point to different gateways, but my container is still taking 192.168.1.2 as the gateway with eth1 set to use 192.168.1.11. Any other thoughts as to what could be the cause? I'd really prefer not to have to go to a different subnet as I currently have this reverse proxied and don't want to break that.

  4. 21 hours ago, theiam79 said:

    Alright, so I set up an IP alias for my lan in pfsense, and set eth1 to use that. After deleting and restarting docker the container still used 192.168.1.2 as the gateway. I tried manually deleting and creating the network with the new gateway, and got an error about it already being in use. I then created a second alias on pfsense and made a custom network specifying that as the gateway, and then choosing that and manually passing an ip param in the advanced options. 

    @bonienl

  5. Alright, so I set up an IP alias for my lan in pfsense, and set eth1 to use that. After deleting and restarting docker the container still used 192.168.1.2 as the gateway. I tried manually deleting and creating the network with the new gateway, and got an error about it already being in use. I then created a second alias on pfsense and made a custom network specifying that as the gateway, and then choosing that and manually passing an ip param in the advanced options. 

  6.       "NetworkSettings": {
                "Bridge": "",
                "SandboxID": "94842cd874bb3ddb54dcd527436d33f716628af320e08ef8b194dd35f752f829",
                "HairpinMode": false,
                "LinkLocalIPv6Address": "",
                "LinkLocalIPv6PrefixLen": 0,
                "Ports": {},
                "SandboxKey": "/var/run/docker/netns/94842cd874bb",
                "SecondaryIPAddresses": null,
                "SecondaryIPv6Addresses": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "MacAddress": "",
                "Networks": {
                    "eth1": {
                        "IPAMConfig": {
                            "IPv4Address": "192.168.1.122"
                        },
                        "Links": null,
                        "Aliases": [
                            "189987dcde57"
                        ],
                        "NetworkID": "30e822af550842c5c44ee66f4ff5189256a0adfc65f3cde8234539319bbfd4f0",
                        "EndpointID": "888872d1dfb62147f519d9efc882802792ac86c7182a7126a9ef982f9886b3fe",
                        "Gateway": "192.168.1.2",
                        "IPAddress": "192.168.1.122",
                        "IPPrefixLen": 24,
                        "IPv6Gateway": "",
                        "GlobalIPv6Address": "",
                        "GlobalIPv6PrefixLen": 0,
                        "MacAddress": "02:42:c0:a8:01:7a",
                        "DriverOpts": null
                    }
                }
            }
        }
    ]

    @bonienl

  7. 20 minutes ago, bonienl said:

     

    Make sure you have included a gateway address in the static assignment of eth1.

     

    Yeah I've got that in there. I've attached an image of my eth1 config as well as the container network settings

     

     

    A sidenote, not sure if this is expected but if you change or remove a network config that a container uses (such as changing eth1 to be a bridge), even if it does not auto start, you can no longer make changes to it or use that template due to a missing csrf token error and have to manually recreate it

    eth1.PNG

    contConfig.PNG

  8. @bonienl Was wondering if I could get some help with this. Server has a quad NIC, and I'd like to take one of those and use it for one specific container, leaving the rest as they are (at least for now). I set the eth1 interface up with a static IP, and I'm able to choose that interface in the container template. When I start the container I am able to ping it locally just fine, but it cannot reach the internet. I've been all over the forums looking for an answer, and I'm sure its just me missing something, but any help would be appreciated.

  9. I've been trying to set this up with no luck. I have a VM, using SeaBIOS and i440FX-2.7, but in the VM settings for GPU my only option is VNC still. I'm sure there is something simple I'm missing, but I'm not knowledgeable enough to find it. I'm currently running 6.3.5, and my CPU is a 4690K.

×
×
  • Create New...