search hotlink icon profile hotlink icon
Package avatar Public | 1.1.x - 1.x.x

On This Page

Note

This page extends Docker Installation with a renamed fusion image tag for local development machines. For pipelines, see the terminal interaction. Pipelines require no extra steps because you are already running inside a container.

User Inside Container

On macOS and Windows, the container runs inside a VM with a mapped root user, so mounting the current directory as the package volume is enough:

                docker run \
    --volume .:/package \
    fusion
            

On Linux, you must pass the user to ensure correct file permissions. Since the container has no such user, also mount the files for username and the home directory:

                docker run \
    --user $(id -u):$(id -g) \
    --volume .:/package \
    --volume /etc/passwd:/etc/passwd:ro \
    --volume /etc/group:/etc/group:ro \
    --volume $HOME:$HOME \
    fusion
            

Custom Config File

On macOS and Windows, the home directory is inside the container. To make Fusion use a custom config.json file, mount it explicitly:

                docker run \
    --volume .:/package \
    --volume <dir>/config.json:$HOME/.config/valvoid/fusion/config.json \
    fusion
            

On Linux, the home directory is already mounted, so you can simply create the $HOME/.config/valvoid/fusion/config.json file.