Skip to main content

Preparing Sentinel Docker Image

Method 1 - Prebuilt

x86_64

Pull the image (check your desired version from this link)

docker pull ghcr.io/sentinel-official/sentinel-dvpnx:latest

Tag the image

docker tag ghcr.io/sentinel-official/sentinel-dvpnx:latest sentinel-dvpnx

AArch64 (ARM64)

docker pull wajatmaka/sentinel-aarch64-alpine:v8.3.1

Method 2 - From Source

Clone the GitHub repository

git clone https://github.com/sentinel-official/sentinel-dvpnx.git \
${HOME}/sentinel-dvpnx/

Checkout to the latest tag

  • Option 1 - Automatic to the latest tag
cd ${HOME}/sentinel-dvpnx/ && \
commit=$(git rev-list --tags --max-count=1) && \
git checkout $(git describe --tags ${commit})
  • Option 2 - Manual (if the previous command does not work for some reasons). Check here for the last current release
cd ~/sentinel-dvpnx && \
git fetch && \
git checkout vX.X.X

Build the image

Run the following command to build the image:

make build-image

Verify the image

After the build completes, check that the image was created successfully by running:

docker images | grep sentinel-dvpnx

You should see an output similar to this:

sentinel-dvpnx           latest    0994666b4eed   44 seconds ago   118MB