So you want to try our Europa locally? Full instructions can be found in the official docs, this example uses a basic compose file.
First launch the mysql
service. Unless you launch this first, Europa will exit.
docker-compose up -d mysql
Once MySQL is running we can bring up the Europa container:
docker-compose up
Once that's running we want to grab the HTTP port on which Europa is running:
docker port europa 80
We'll reuse that port as <port>
in the following commands.
You should now access the Europa dashboard at http://127.0.0.1:<port>
. Setup local file storage by toggling the File System
option and providing a path. I used /europa
.
Then grab an API Token from http://127.0.0.1:<port>/settings?section=tokens
as described in the docker login documentation.
Let's demonstrate the repository is up and running by pushing an image to it. First login using the token we retrieved above.
docker login -u TOKEN -p <token> 127.0.0.1:<port>
Then tag and push an image. I used :
docker pull nginx
docker tag nginx 127.0.0.1:<port>/nginx
docker push 127.0.0.1:<port>/nginx