DEV Community

Cover image for Kalolo API from scratch with Docker (inside hashicorp/bionic64)
adriens
adriens

Posted on • Edited on

1

Kalolo API from scratch with Docker (inside hashicorp/bionic64)

See linkedIn article for more details.

mkdir kalolo-box
cd kalolo-box
vagrant init hashicorp/bionic64
vagrant up
vagrant ssh
clear

sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
docker --version

# run the kalolo-api locally
sudo docker pull rastadidi/kalolo-api:latest
sudo docker images
sudo docker run -d -p 8080:8080 rastadidi/kalolo-api:latest
sudo docker ps


sudo apt-get install jq boxes toilet cowsay fortune -y


echo "We are ready" | boxes -d dog

alias kalolo='clear && echo $(curl -sS http://localhost:8080/expressions/tag/bonjour/random | jq -r '.texte') | boxes -d boy | toilet --gay -f term'
kalolo
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More