Docker Container Setup¶
This guide shows you how to run the EFSA Pipeline in a Docker container with access to input/output folders.
Prerequisites¶
- Docker installed on your system
- Git (if cloning the repository)
Setup Options¶
Option 1: Using the Run Script (Recommended)¶
-
Make sure the script is executable:
-
Run the container:
-
You'll be dropped into the container shell where you can run CLI commands
- Type
exitwhen done to return to your host system
Option 2: Manual Docker Commands¶
-
Build the image:
-
Run interactively:
docker run --privileged -d --rm \ --network=host \ -v /etc/ssl/certs:/etc/ssl/certs:ro \ -v /usr/share/ca-certificates:/usr/share/ca-certificates:ro \ --name efsa-pipeline-container \ -w $(pwd) \ -v "$(pwd)/data/inputs:/EFSA_workspace/data/inputs" \ efsa-pipeline docker exec -it efsa-pipeline-container /bin/sh
What's Next?¶
After setting up the Docker container, proceed to: