Getting started with Intrigue-core on Docker

NOTE: this post will tell you how to build the standalone Docker image locally on your system. If you’d just like to USE the latest standalone docker image, there’s a pre-built image available

To build an Intrigue Core image using Docker, you’ll need to install Docker on your machine.

Next, pull down the intrigue-core repository to your local machine with a git clone and jump into the directory:

$ git clone https://github.com/intrigueio/intrigue-core
$ cd intrigue-core

Then use Docker to build an image:

$ docker build -f Dockerfile-standalone . -t intrigue-core

Now, we can run the newly-minted image with Docker, and we’ll want to expose the UI/API listening on :7777!

$ docker run -e LANG=C.UTF-8 -i -t -p 0.0.0.0:7777:7777 -it intrigue-core

This will start the docker image with the intrigue-core services, giving you output that looks like the following (shortened for brevity):

Starting PostgreSQL 10.0 database server                                                                                                                                                           [ OK ] 
Starting redis-server: redis-server.
Starting intrigue-core processes
[+] Setup initiated!
[+] Generating system password: [PASSWORD]
[+] Copying puma config....
[ ] File already exists, skipping: /core/config/puma.rb

* Listening on tcp://0.0.0.0:7777
Use Ctrl-C to stop

As it starts up, you can see that it generates a unique password. You can  now log in with the username intrigue and the password above at http://127.0.0.1:7777 on your host machine!

Now, you’re up and running,  see: Up and running with Intrigue Core

3 thoughts on “Getting started with Intrigue-core on Docker”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s