https://github.com/play-with-docker/docker-machine-driver-pwd
Docker machine PWD driver
https://github.com/play-with-docker/docker-machine-driver-pwd
docker driver machine
Last synced: 5 months ago
JSON representation
Docker machine PWD driver
- Host: GitHub
- URL: https://github.com/play-with-docker/docker-machine-driver-pwd
- Owner: play-with-docker
- Created: 2016-12-22T05:13:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T17:37:37.000Z (over 7 years ago)
- Last Synced: 2025-04-01T20:07:16.735Z (6 months ago)
- Topics: docker, driver, machine
- Language: Go
- Size: 13.7 KB
- Stars: 62
- Watchers: 7
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-machine-pwd-driver
Docker machine PWD driver
## Getting started
This driver tricks machine and allows to create / remove [play-with-docker](http://play-with-docker.com) instances remotely.
Before using it please make sure of the following:
- Create a session in PWD and set PWD_URL env variable or use --pwd-url flag when creating an instance
## Installing
### Easy way
Download the release bundle from the [releases](https://github.com/play-with-docker/docker-machine-driver-pwd/releases) section and place the binary that corresponds to your platform it somewhere in your PATH
### Hard way
Use `go get github.com/play-with-docker/docker-machine-driver-pwd` and make sure that
`docker-machine-driver-pwd` is located somwhere in your PATH## Usage
Creating an instance:
```
# Create a session in play-with-docker.com and set the PWD_URL env variable
docker-machine create -d pwd --pwd-url node1
eval $(docker-machine env node1)
docker ps
```Alternatively you can set the env variable `PWD_URL` to avoid passing it as a flag every time.
Remove an instance
```
docker-machine rm -f node1
```## Development
For local development it's necessary to set `PWD_PORT`, `PWD_HOSTNAME` and `PWD_SSL_PORT`
accordingly to use with local PWD.i.e:
```
export PWD_PORT=3000
export PWD_SSL_PORT=3001
```