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

Unsupported platform when deploying via docker swarm #4

Open
charlieparkes opened this issue Dec 31, 2020 · 1 comment
Open

Unsupported platform when deploying via docker swarm #4

charlieparkes opened this issue Dec 31, 2020 · 1 comment

Comments

@charlieparkes
Copy link

charlieparkes commented Dec 31, 2020

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: "[email protected]"
            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
Copy link
Owner

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

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

2 participants