@ncdc I was thinking about it... the problem is in that case I will need to map all docker run args to dockerclient JSON . Basically duplicate the https://github.com/dotcloud/docker/blob/aa05170a82a857aa6f1257d4554828c08c2015f6/api/client/commands.go#L1884