@cloud-cli/dx
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

DX

Run Docker containers

Install

npm i @cloud-cli/dx

Usage

cy dx.list
cy dx.prune
cy dx.pull --image node:latest
cy dx.add --name node-app --image node:latest --volumes 'volume:/container/path' --port ':80' --domain 'foo.example.com'
cy dx.start --name node-app
cy dx.logs --name node-app
cy dx.stop --name node-app
cy dx.remove --name node-app

Options

Option Description
name Required. Container name
image Required: Container image
volumes Comma-separated list of volume bindings
port Empty = random port. :port = random host port. number = fixed port on host and container
domain Domain to bind this container to. Requires @cloud-cli/px and @cloud-cli/dns

Readme

Keywords

Package Sidebar

Install

npm i @cloud-cli/dx

Weekly Downloads

3

Version

2.2.1

License

MIT

Unpacked Size

14.4 kB

Total Files

14

Last publish

Collaborators

  • darlanalves