Docker S3 method for use with harbor package
# S3 method for gce_instance
docker_cmd(host, cmd = NULL, args = NULL,
docker_opts = NULL, capture_text = FALSE, nvidia = FALSE, ...)
The GCE instance
The command to pass to docker
arguments to the command
options for docker
whether to return the output
If true will use nvidia-docker
instead of docker
other arguments passed to gce_ssh
Instances launched in the google-containers
image family automatically add your user to the docker group,
but for others you will need to run sudo usermod -a -G docker ${USER}
and log out and back in.