System info: docker==2.2.1 docker-pycreds==0.2.1 Python 2.7.5 Client: Version: 17.04.0-ce API version: 1.28 Go version: go1.7.5 Git commit: 4845c56 Built: Wed Apr 5 18:55:10 2017 OS/Arch: linux/amd64 Server: Version: 17.04.0-ce API version: 1.28 (minimum version 1.12) Go version: go1.7.5 Git commit: 4845c56 Built: Wed Apr 5 18:55:10 2017 OS/Arch: linux/amd64 Experimental: false Looks like these parameters just need to be added to run function.