https://github.com/foxboron/docker-simple
Virtualenv for docker hosts
https://github.com/foxboron/docker-simple
Last synced: about 1 year ago
JSON representation
Virtualenv for docker hosts
- Host: GitHub
- URL: https://github.com/foxboron/docker-simple
- Owner: Foxboron
- Created: 2016-01-11T14:13:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T18:15:08.000Z (over 10 years ago)
- Last Synced: 2025-02-01T11:12:36.975Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker-Simple
============
Simpler host management
Install:
`source docker-simple.sh`
Config dir: `~/.docker/machine/machines/`
Config files stores the relevant env variables
```
λ fox@hackbook example » pwd
/home/fox/.docker/machine/machines/example
λ fox@hackbook example » ls
ca.pem cert.pem config key.pem
λ fox@hackbook example » cat config
export DOCKER_CERT_PATH=~/.docker/machine/machines/example/
export DOCKER_HOST=tcp://docker.example.org:2375
export DOCKER_TLS_VERIFY=1
```
Todo:
local conf: `.../service/.docker-host`
auto-remember docker-compose hosts
`alias docker-compose="ds dc"`
create
Needs a better name
```
ds list
ds activate
ds deactivate
ds run
ds create
ds current
```
[](https://asciinema.org/a/dbyyk9ixjrjbmuzxc30it1p2c)