itsTeckel / vu

Venice unleashed linux dedicated server running inside Docker
18 stars 5 forks source link

Unsupported platform when deploying via docker swarm #4

Open charlieparkes opened 3 years ago

charlieparkes commented 3 years ago

I'm receiving an error from docker swarm when this container starts.

no suitable node (unsupported platform)

The nodes are running intel x64 processors w/ an x64 kernel on debain 10. Before taking a deep dive into the container, I was wondering if you've run into this as well.

Here's my compose file, for reference, if you want to try it yourself. (Since, presumably, most of us run a similar cpu/kernel.) I believe the issue is specific to docker swarm, after digging a bit.

docker stack deploy --with-registry-auth -c /var/bf3/docker-compose.yml battlefield3

# tear-down with 'docker stack rm battlefield3'
version: "3.8"

services:
    server:
        image: itsteckel/vu:latest
        ports:
            - 47200:47200/tcp
            - 7948:7948/udp
            - 25200:25200/udp
        environment:
            O_EMAIL: "foo@bar.com"
            O_PASSWORD: "foobar"
        volumes:
            - '/var/bf3/data/bf3:/vu/bf3'
            - '/var/bf3/data/instance:/vu/instance'
            - 'client:/vu/client'
        deploy:
            restart_policy:
                condition: on-failure

volumes:
    client:
itsTeckel commented 3 years ago

So I'm running my containers on a x64 kernel Ubuntu installation using portainer to organise it. I haven't encountered this problem. What version of docker are you running? Please reply with the output of docker info

Have you tried just running the container as is, using docker run? Afaik I know you're perfectly able to run 32bit containers on a 64 bit host