This repository has been archived by the owner on Sep 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
Docker Usage
Eric Harris-Braun edited this page Jun 13, 2017
·
2 revisions
We have set up the docker environment such that the ~/.holochain directory in the containers are mapped to your user directory. This allows that any chains you are working on will be maintained across container builds, and additionally that you can access the same chains from both docker containers and hc
installed on your machine.
-
docker info
- displays information about your current docker system configuration -
docker run <container-name>
- launches the named container -
docker ps -a
- lists operational containers whether they're running or terminated -
docker rm <container-hash-id>
- removes operational container from memory -
docker start <container-hash-id>
- starts a container which had been stopped -
docker attach <container-hash-id>
- attaches your terminal session to that container
-
<container-hash-id>
- just type the first few characters of one of the docker IDs and press to auto-complete it. -
Ctrl-D
- exits and terminates running docker container -
Ctrl-P Ctrl-Q
- detaches from container leaving it running
- Check out this cheat-sheet for tons more help making your way around docker
Project Links: | Holochain Overview | Code Repository | White Paper | GoDocs API Reference |
---|
Holochain is part of Ceptr, and brought to you by the MetaCurrency Project