Deploy with Docker
It's recommended to run Bytebase with Docker which is the easiest way to get you started.
Prerequisites
Before starting, make sure you have installed Docker.
Run the command
Run the following command to start Bytebase on container port 8080
and map it to localhost port 5678
.
docker run --init \
--name bytebase \
--restart always \
--publish 5678:8080 \
--health-cmd "curl --fail http://localhost:5678/healthz || exit 1" \
--health-interval 5m \
--health-timeout 60s \
--volume ~/.bytebase/data:/var/opt/bytebase \
bytebase/bytebase:2.11.1 \
--data /var/opt/bytebase \
--port 8080
If you ran Bytebase before, you can reset all data by running this command:
rm -rf ~/.bytebase/data