Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

publish a Docker container #12

Open
warner opened this issue Feb 4, 2019 · 3 comments
Open

publish a Docker container #12

warner opened this issue Feb 4, 2019 · 3 comments

Comments

@warner
Copy link
Contributor

warner commented Feb 4, 2019

Dean pointed out it'd be a lot easier to play with this if we had a docker container that included the right/recent version of Node and the dependencies pre-installed.

@dckc
Copy link
Contributor

dckc commented Feb 16, 2019

@dtribble can you elaborate on the use case at all here? I got started (#14) but then I couldn't tell how close I was to finished.

@warner
Copy link
Contributor Author

warner commented Feb 16, 2019

I think what we could really use is a container that just offers the vat and client executables, ready to run. I guess the use case is for someone who doesn't know how Node.js works and doesn't want to run npm install -g playground-vat (assuming we'd published it to npm correctly), but wants to experiment with vat create and vat run and client run (although TBH I don't remember if client run actually works right now).

I don't know Docker very well.. #14 might do just that, although I see mention of examples/quorum so maybe it's doing slightly too much? Not sure.

@dckc
Copy link
Contributor

dckc commented Feb 16, 2019

I published the result on docker hub; it's set up to automatically rebuild on pushes to my fork:

https://hub.docker.com/r/dckc/playground-vat

For example:

$ docker pull dckc/playground-vat
Using default tag: latest
latest: Pulling from dckc/playground-vat
Digest: sha256:b8bf4aad87872cb9fb48fec6ea9fc0922e913381485c482bebbd55726689c02f

To finish this issue, you guys should set up an account and do likewise. I'm happy to help if you get stuck or whatever.

p.s. I think https://cloud.docker.com/u/dckc/repository/docker/dckc/playground-vat is the administrative interface that I see when I'm logged in.

warner added a commit that referenced this issue Feb 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants