docker.io accounts API

docker.io accounts API Get a single user GET /api/v1.1/users/:username/ Get profile info for the specified user. Parameters: username – username of the user whose profile info is being requested. Request Headers: Authorization – required authentication credentials of either type HTTP Basic or OAuth Bearer Token. Status Codes: 200 – success, user data returned. 401 – authentication error. 403 – permission error, authenticated user must be the user whose data is being requested, OAuth ac

docker-machine url

url Get the URL of a host $ docker-machine url dev tcp://192.168.99.109:2376

docker-machine upgrade

upgrade Upgrade a machine to the latest version of Docker. How this upgrade happens depends on the underlying distribution used on the created instance. For example, if the machine uses Ubuntu as the underlying operating system, it will run a command similar to sudo apt-get upgrade docker-engine, because Machine expects Ubuntu machines it manages to use this package. As another example, if the machine uses boot2docker for its OS, this command will download the latest boot2docker ISO and replace

docker-machine stop

stop Usage: docker-machine stop [arg...] Gracefully Stop a machine Description: Argument(s) are one or more machine names. For example: $ docker-machine ls NAME ACTIVE DRIVER STATE URL dev * virtualbox Running tcp://192.168.99.104:2376 $ docker-machine stop dev $ docker-machine ls NAME ACTIVE DRIVER STATE URL dev * virtualbox Stopped

docker-machine status

status Usage: docker-machine status [arg...] Get the status of a machine Description: Argument is a machine name. For example: $ docker-machine status dev Running

docker-machine start

start Usage: docker-machine start [arg...] Start a machine Description: Argument(s) are one or more machine names. For example: $ docker-machine start dev Starting VM...

docker-machine ssh

ssh Log into or run a command on a machine using SSH. To login, just run docker-machine ssh machinename: $ docker-machine ssh dev ## . ## ## ## == ## ## ## ## === /""""""""""""""""\___/ === ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~ \______ o __/ \ \ __/ \____\______/ _ _ ____ _ _ | |__ ___ ___ | |_|___ \ __| | ___

docker-machine scp

scp Copy files from your local host to a machine, from machine to machine, or from a machine to your local host using scp. The notation is machinename:/path/to/files for the arguments; in the host machine’s case, you don’t have to specify the name, just the path. Consider the following example: $ cat foo.txt cat: foo.txt: No such file or directory $ docker-machine ssh dev pwd /home/docker $ docker-machine ssh dev 'echo A file created remotely! >foo.txt' $ docker-machine scp dev:/home/docker/

docker-machine rm

rm Remove a machine. This will remove the local reference as well as delete it on the cloud provider or virtualization management platform. $ docker-machine rm --help Usage: docker-machine rm [OPTIONS] [arg...] Remove a machine Description: Argument(s) are one or more machine names. Options: --force, -f Remove local configuration even if machine cannot be removed, also implies an automatic yes (`-y`) -y Assumes automatic yes to proceed with remove, without prompting further

docker-machine restart

restart Usage: docker-machine restart [arg...] Restart a machine Description: Argument(s) are one or more machine names. Restart a machine. Oftentimes this is equivalent to docker-machine stop; docker-machine start. But some cloud driver try to implement a clever restart which keeps the same ip address. $ docker-machine restart dev Waiting for VM to start...