System is not a docker command when < 5GB space left


(gauthier) #1

Hi,

When i’m trying to do a ./launcher cleanup via ssh.
(last version of discourse, Ubuntu 16.04)

/var/discourse# ./launcher cleanup
flag provided but not defined: --format
See '/usr/bin/docker info --help'.
You have less than 5GB of free space on the disk. You will need more space to continue

Would you like to attempt to recover space by cleaning docker images and containers in the system?(y/N)y
docker: 'system' is not a docker command.
See 'docker --help'.
If the cleanup was successful, you may try again now

Same problem on rebuild


(Rafael dos Santos Silva) #2

Hi, are you running a supported version of docker (17.x)?

Can you try and update that: Get Docker CE for Ubuntu | Docker Documentation ?


(gauthier) #3
docker -v
Docker version 1.11.2, build b9f10c9

Update done, i’m now on 17.05.0-ce, i will try again cleanup next time i have less than 5GB free. Thanks


(Jeff Atwood) #4

Why can’t cleanup check for docker version and warn @falco?