Portable Gunbot Container — Step-by-step Guide

Its here!! check out our ready-to-build Docker container that comes with Gunbot preconfigured for first-time setup. It’s designed for quick deployment — no manual configuration required. The container includes built-in OpenSSL certificate generation, automatic data persistence management, and a fully integrated environment that’s ready to set up and run right out of the box. Whether you’re deploying locally or on a server, this setup provides a secure, reliable foundation for running Gunbot with minimal effort.

1. Prepare folders on the host

Create a folder for the tar file (example):

Example: D:\docker-apps\

Create a folder for persistent Gunbot data (the container will populate this on first run):

Linux: mkdir -p ./GB

Windows (PowerShell):
mkdir .\GB

2. Put the container tar file in your tar folder

Copy gunbot-standalone.tar into the folder where you’ll run the next command (the same folder you created above).

3. Load the container image

Run this from the same location as gunbot-standalone.tar:

docker load -i gunbot-standalone.tar

4. Run the container with persistence

Run the container (this mounts the host ./GB into the container at /home/GB):

docker run -d -p 5000:5000 -v ./GB:/home/GB --name gunbot gunbot-standalone

What happens on first run:

  • Gunbot files are copied into ./GB if that folder is empty.
  • config.js is patched to port: 5000 and https: true.
  • OpenSSL certificates are generated automatically (self-signed by default).
  • All configs, logs and binaries are persisted in ./GB on the host so they survive restarts.

5. Access the Gunbot GUI

Because the container enables HTTPS by default, open your browser to:

https://localhost:5000

You may see a browser warning about a self-signed certificate — that is expected for the default self-signed cert. Accept the warning to proceed (or install the generated cert into your system/browser if you want to remove the warning).

6. Stop / start / remove the container

docker stop gunbot 
docker start gunbot 
docker rm -f gunbot

Useful for troubleshooting:

docker ps -a # show container status 
docker logs -f gunbot # stream container logs

7. Notes & portability

  • This container is fully standalone and portable — it requires no GitHub or Docker Hub during runtime. You only need Docker installed on the host.
  • All persistent files (configs, logs, SSL certs, binaries) are downloaded and stored in the host ./GB folder. Back up or move that folder to keep your Gunbot state.
  • If you want the container to bind to a specific host directory path (absolute path), replace ./GB with the absolute path (for example D:\docker-apps\GB on Windows or /srv/gunbot/GB on Linux).

files

SHA256: 977546597044C3616E74AEA81835AAB7D79B21D230C40BDE56D04ACB2E8D80B7

#soonish