docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

If I was to upgrade the docker interface, how would I do it? #2796

Closed Spritekin closed 4 years ago

Spritekin commented 7 years ago

Hi, I'm using a client that uses a Docker 1.3 interface (Jupyterhub with DockerSpawner). I'm using swarm (docker 1.24) in my mesos cluster to start the notebooks. All goes ok until I try to shutdown the notebooks.

Seems like the cluster can't handle the calls and returns:

docker.errors.APIError: 400 Client Error: Bad Request ("b'
{
    "message": "client is newer than server (client API version: 1.30, server API version: 1.24)"
}
'")

This is the same problem I get when trying to run some commands straight from my computer against swarm. Meaning swarm interface is just too old.

So, in case I would like to uphaul the docker interface, what should I do?

Thanks!