Commandes Linux : docker-machine inspect

DOCKER-MACHINE INSPECT

Commande : docker-machine inspect
Usage: docker-machine inspect [OPTIONS] [arg...]

Inspect information about a machine

Description:
   Argument is a machine name.

Options:
   
   --format, -f 	Format the output using the given go template.

 

Afficher les informations détaillées relatives à une machine Docker :

docker-machine inspect machine

ex :

$ docker-machine inspect manager
{
    "ConfigVersion": 3,
    "Driver": {
        "IPAddress": "192.168.99.101",
        "MachineName": "manager",
        "SSHUser": "docker",
        "SSHPort": 50545,
[...]
    },
    "DriverName": "virtualbox",
    "HostOptions": {
        "Driver": "",
        "Memory": 0,
        "Disk": 0,
[...]
$ docker-machine inspect manager -f 'Addresse IP : {{.Driver.IPAddress}}'
Addresse IP : 192.168.99.101

 

Fermer le menu
%d blogueurs aiment cette page :