Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Running Serpico From Docker

BuffaloWill edited this page Apr 8, 2016 · 32 revisions

DockerHub Image (Easiest)

At the terminal (on a system with docker installed)

docker pull ncolyer/serpico

Roll your own Docker Image

Skip to the bottom for easy cut and paste.

  1. Install Docker

On Ubuntu

apt-get install -y docker.io

  1. Create the Serpico Docker Image Directory
mkdir SerpicoDockerImage
cd SerpicoDockerImage
  1. Download the Dockerfile from Gist
curl -o Dockerfile https://gist.githubusercontent.com/BuffaloWill/c475a823c81b869a45848358c62e5624/raw/2373348c427f7f77e86cd2b1c644083a7fbc6d7d/gistfile1.txt
  1. Build the Image
docker build -t serpico_local .
  1. Run
docker run -it serpico_local /bin/bash -l
  1. Start Serpico

If you didn't note the administrator password during the build you will want to change the admin pass first:

ruby scripts/manager_user.rb -u administrator -p MYPASSWORD

Start Serpico

ruby serpico.rb

TLDR: Copy+Paste Build Your Own

apt-get install -y docker.io
mkdir SerpicoDockerImage
cd SerpicoDockerImage
curl -o Dockerfile https://gist.githubusercontent.com/BuffaloWill/c475a823c81b869a45848358c62e5624/raw/2373348c427f7f77e86cd2b1c644083a7fbc6d7d/gistfile1.txt
docker build -t serpico_local .
docker run -it serpico_local /bin/bash -l
ruby serpico.rb