https://github.com/smartxworks/docker-machine-driver-smtxos
Docker machine driver of SMTX OS
https://github.com/smartxworks/docker-machine-driver-smtxos
docker-machine docker-machine-driver
Last synced: about 2 months ago
JSON representation
Docker machine driver of SMTX OS
- Host: GitHub
- URL: https://github.com/smartxworks/docker-machine-driver-smtxos
- Owner: smartxworks
- License: apache-2.0
- Created: 2019-06-12T02:16:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-04T21:12:12.000Z (about 3 years ago)
- Last Synced: 2025-12-19T15:41:14.747Z (6 months ago)
- Topics: docker-machine, docker-machine-driver
- Language: Go
- Homepage:
- Size: 4.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Machine Driver of SMTX OS
[](https://travis-ci.org/smartxworks/docker-machine-driver-smtxos)
Create Docker machines remotely on [SMTX OS](https://www.smartx.com/smtx-os/). This driver requires SMTX OS 4.0 or above. Earlier versions of SMTX OS will not work with this driver.
## Installation
### From a release
The latest version of the driver binary is available on the [GithHub Releases](https://github.com/smartxworks/docker-machine-driver-smtxos/releases) page. Download the the binary that corresponds to your OS into a directory residing in your `$PATH`.
### From source
Make sure you have installed [Go](https://golang.org) and configured `$GOPATH` properly. For MacOS and Linux, make sure `$GOPATH/bin` is part of your `$PATH`. For Windows, make sure `%GOPATH%\bin` is included in `%PATH%`.
Run the following command:
```bash
go get -u github.com/smartxworks/docker-machine-driver-smtxos
```
## Usage
```bash
docker-machine create -d smtxos --smtxos-server --smtxos-password
```
## Options
```
docker-machine create -d smtxos --help
```
| CLI option | Environment variable | Default value | Description |
| --------------------------------- | ----------------------------- | --------------------------------- | ----------- |
| `--smtxos-server` | `SMTXOS_SERVER` | - | address of SMTX OS server |
| `--smtxos-port` | `SMTXOS_PORT` | `80` | port of SMTX OS server |
| `--smtxos-username` | `SMTXOS_USERNAME` | `root` | username used to login SMTX OS |
| `--smtxos-password` | `SMTXOS_PASSWORD` | - | password used to login SMTX OS |
| `--smtxos-cpu-count` | `SMTXOS_CPU_COUNT` | `2` | number of CPU cores for VM |
| `--smtxos-memory-size` | `SMTXOS_MEMORY_SIZE` | `4096` | size of memory for VM (in MB) |
| `--smtxos-disk-size` | `SMTXOS_DISK_SIZE` | `10240` | size of disk for VM (in MB) |
| `--smtxos-storage-policy-name` | `SMTXOS_STORAGE_POLICY_NAME` | `default` | name of storage policy of disk for VM |
| `--smtxos-dockeros-image-path` | `SMTXOS_DOCKEROS_IMAGE_PATH` | `[kubernetes]/SMTX-DockerOS.raw` | path of DockerOS image on SMTX OS, in the format of `[datastore-name]/file-path` |
| `--smtxos-network-name` | `SMTXOS_NETWORK_NAME` | `default` | network name for VM |
| `--smtxos-ha` | `SMTXOS_HA` | `false` | whether to enable high availability for VM |