Skip to content

How To: Interact with the Orcpub Docker CLI

DivertedCircle edited this page Mar 22, 2020 · 1 revision

Grab a list of your containers

docker ps -a for a list of containers

Run bash inside your container

docker run -it <image> /bin/bash

How to expose the docker to your host machine so lein can interact with it

Expose Datomic

ports:
   - "4334:4334"
   - "4335:4335"
   - "4336:4336"

Utilizing local orcpub to interact with dockered datomic

  1. cd to local/host orcpub directory
  2. Run lein repl from host

Note: If on Ubuntu you will want to specify Leiningen 2.8.3 or lower

  1. When prompted run `(start-server)
  2. Run (verify-new-user "<your account's email>")

Note: The "parentheses" are required