CLI reference for Docker EE for IBM Cloud
CLI reference for Docker EE for IBM Cloud
Estimated reading time:
nine moment With the stevedore electrical engineering for IBM cloud ( beta ) circuit board for the IBM cloud command line interface, you toilet wangle your stevedore swarm aboard early IBM mottle operation .
Docker for IBM Cloud plug-in commands
consult to these command to oversee your stevedore electrical engineering for IBM cloud bunch.
- To view a list of commands, run the
bx d4ic help
command.- For help with a specific command, run
bx d4ic help [command_name]
.- To view the version of your Docker for IBM Cloud plug-in, run the
bx d4ic version
command.bx d4ic create
produce angstrom stevedore electrical engineering pour cluster .
Usage
$bx d4ic create -- sl-user SOFTLAYER_USERNAME -- sl-api-key SOFTLAYER_API_KEY -- ssh-label SSH_KEY_LABEL -- ssh-key SSH_KEY_PATH -- docker-ee-url DOCKER_EE_URL -- swarm-name SWARM_NAME [ -- datacenter DATACENTER] [ -- worker NUMBER] [ -- director NUMBER] [ -- hardware SHARED|DEDICATED] [ -- manager-machine-type MANAGER_MACHINE_TYPE] [ -- worker-machine-type WORKER_MACHINE_TYPE] [ -v ] [ -- version VERSION]
Options
Name, shorthand Description Default Required? --sl-user
,-u
Log in to IBM Cloud infrastructure, select your profile, and locate your API Username under the API Access Information section. Required --sl-api-key
,-k
Log in to IBM Cloud infrastructure, select your profile, and locate your Authentication Key under the API Access Information section. Required --ssh-label
,--label
Your IBM Cloud infrastructure SSH key label for the manager node. To create a key, log in to IBM Cloud infrastructure and select Devices > Manage > SSH Keys > Add. Copy the key label and insert it here. Required --ssh-key
The path to the SSH key on your local client that matches the SSH key label in your IBM Cloud infrastructure account. Required --swarm-name
,--name
The name for your swarm and prefix for the names of each node. d4ic Required --docker-ee-url
The Docker EE installation URL associated with your subscription. For beta, you received this in your welcome email. Required --manager
Deploy 1, 3, or 5 manager nodes. 3 Optional --workers
,-w
Deploy a minimum of 1 and maximum of 10 worker nodes. 3 Optional --datacenter
,-d
The location (data center) that you deploy the cluster to. Availabe locations are dal12, dal13, fra02, hkg02, lon04, par01, syd01, syd04, tor01, wdc06, wdc07. wdc07 Optional --verbose
,-v
Enable verbose mode Optional --hardware
If “dedicated” then the nodes are created on hosts with compute instances in the same account. Shared Optional --manager-machine-type
The machine type of the manager nodes: u1c.1×2, u1c.2×4, b1c.4×16, b1c.16×64, b1c.32×128, or b1c.56×242. Higher machine types cost more, but deliver better performance: for example, u1c.2×4 is 2 cores and 4 GB memory, and b1c.56×242 is 56 cores and 242 GB memory. u1c.2×4 Optional --worker-machine-type
The machine type of the worker nodes: u1c.1×2, u1c.2×4, b1c.4×16, b1c.16×64, b1c.32×128, or b1c.56×242. Higher machine types cost more, but deliver better performance: for example, u1c.2×4 is 2 cores and 4 GB memory, and b1c.56×242 is 56 cores and 242 GB memory. u1c.1×2 Optional --version
The Docker EE version of the created cluster. For the beta, only the default version is available. Default version Optional bx d4ic delete
delete ampere stevedore electrical engineering drove cluster .
Usage
$bx d4ic delete ( -- swarm-name SWARM_NAME | -- id ID ) -- sl-user SOFTLAYER_USERNAME -- sl-api-key SOFTLAYER_API_KEY -- ssh-key SSH_KEY_PATH [ -- insecure ] [ -- pull ]
Read more : IBM cloud computing - Wikipedia
Options
Name, shorthand Description Default Required? --sl-user
,-u
Log in to IBM Cloud infrastructure, select your profile, and locate your API Username under the API Access Information section. Required --sl-api-key
,-k
Log in to IBM Cloud infrastructure, select your profile, and locate your Authentication Key under the API Access Information section. Required --ssh-key
The path to the SSH key on your local client that matches the SSH key label in your IBM Cloud infrastructure account. Required --swarm-name
,--name
The name of your cluster. If the name is not provided, you must provide the ID. Required --id
The ID of your cluster. If the ID is not provided, you must provide the name. Required --verbose
,-v
Enable verbose mode Optional --insecure
Do not verify the identity of the remote host and accept any host key. This is not recommended. Optional --force
,-f
Force deletion without confirmation. Optional bx d4ic key-create
create vitamin a key for a service case. ahead you displace produce a key, create associate in nursing IBM cloud service .
Usage
$bx d4ic key-create ( -- swarm-name SWARM_NAME | -- id ID ) -- cert-path CERT_PATH -- service-name SERVICE_NAME -- service-key SERVICE_KEY -- sl-user SOFTLAYER_USERNAME -- sl-api-key SOFTLAYER_API_KEY
Options
Name, shorthand Description Default Required? --cert-path
,--cp
The directory containing the Docker UCP client certificate bundle. Required --swarm-name
,--name
The name of your cluster. If the name is not provided, you must provide the ID. Required --id
The ID of your cluster. If the ID is not provided, you must provide the name. Required --service-name
,--name
Name of an IBM Cloud service. Required --service-key
,--key
Key of an IBM Cloud service. Required --sl-user
,-u
Log in to IBM Cloud infrastructure, select your profile, and locate your API Username under the API Access Information section. Required --sl-api-key
,-k
Log in to IBM Cloud infrastructure, select your profile, and locate your Authentication Key under the API Access Information section. Required bx d4ic list
number the cluster inch your stevedore electrical engineering for IBM cloud report .
Usage
$bx d4ic list -- sl-user SOFTLAYER_USERNAME -- sl-api-key SOFTLAYER_API_KEY [ -- json ]
Options
Name, shorthand Description Default Required? --sl-user
,-u
Log in to IBM Cloud infrastructure, select your profile, and locate your API Username under the API Access Information section. Required --sl-api-key
,-k
Log in to IBM Cloud infrastructure, select your profile, and locate your Authentication Key under the API Access Information section. Required --json
Prints the output as JSON. Optional bx d4ic logmet
enable oregon disable transmission of container logarithm and system of measurement data to IBM cloud log analysis and monitoring service .
Usage
$bx d4ic logmet ( -- swarm-name SWARM_NAME | -- id ID ) -- cert-path CERT_PATH -- sl-user SOFTLAYER_USERNAME -- sl-api-key SOFTLAYER_API_KEY [ -- enable | -- disable ]
Options
Name, shorthand Description Default Required? --swarm-name
,--name
The name of your cluster. If the name is not provided, you must provide the ID. Required --id
The ID of your cluster. If the ID is not provided, you must provide the name. Required --cert-path
,--cp
The directory containing the Docker UCP client certificate bundle. Required --sl-user
,-u
Log in to IBM Cloud infrastructure, select your profile, and locate your API Username under the API Access Information section. Required --sl-api-key
,-k
Log in to IBM Cloud infrastructure, select your profile, and locate your Authentication Key under the API Access Information section. Required --enable
Send log activity to IBM Cloud Log Analysis and Monitoring services to the ORG and SPACE that you’re currently logged in to. You must include either --enable
or--disable
in the command.Optional --disable
Disable sending log activity to IBM Cloud Log Analysis and Monitoring services. You must include either --enable
or--disable
in the command.Optional bx d4ic show
display information about the IBM defile infrastructure part, such deoxyadenosine monophosphate load halter url, of angstrom specific bunch .
Usage
$bx d4ic show ( -- swarm-name SWARM_NAME | -- id ID ) -- sl-user SOFTLAYER_USERNAME -- sl-api-key SOFTLAYER_API_KEY [
-- json ]Read more : IBM BASIC – Wikipedia tiếng Việt
Options
Name, shorthand | Description | Default | Required? |
---|---|---|---|
--sl-user , -u |
Log in to IBM Cloud infrastructure, select your profile, and locate your API Username under the API Access Information section. | Required | |
--sl-api-key , -k |
Log in to IBM Cloud infrastructure, select your profile, and locate your Authentication Key under the API Access Information section. | Required | |
--id |
The ID of the cluster. You must provide either the ID or the swarm name. | Required | |
--swarm-name , --name |
The name of your cluster. You must provide either the name or the ID. | Required | |
--json |
Prints the output as JSON. | Optional |