docker image for AhsayCBS v8.3.0.30
git clone https://github.com/jeffre/docker-cbs.git
cd docker-cbs
make docker-image
Quick and dirty:
docker run -p "80:80" -p "443:443" jeffre/cbs
Using bind mount for important volumes:
docker run \
-p "80:80" \
-p "443:443" \
-v "$(pwd)/cbs/conf:/cbs/conf" \
-v "$(pwd)/cbs/download:/cbs/download" \
-v "$(pwd)/cbs/logs:/cbs/logs" \
-v "$(pwd)/cbs/system:/cbs/system" \
-v "$(pwd)/cbs/user:/cbs/user" \
jeffre/cbs
docker stop --time 60 CONTAINER_NAME
- /cbs/conf: configuration (including ssl certs and user profiles)
- /cbs/download: agent download folder
- /cbs/logs: access logs and context logs
- /cbs/system: policies, system logs, and temp path for agentless cloud backup
- /cbs/user: client data
- CBS_MAC (Empty): Spoofs mac address which is used by ahsay licensing (eg: BE:02:A4:D2:14:7F).
- APP_HOME (/cbs): path to install app
- UID (400): id of ahsay user
- GID (400): group id of ahsay user
- INSTALLER (http://ahsay-dn.ahsay.com/v8/83030/cbs-nix.tar.gz): URL for CBS installation tarball
- HOTFIXES: list of space-separated URLs to download hotfixes
- The application runs as the limited user "ahsay" (default 400:400).
- Catalina is started as a foreground process.
docker stop(SIGTERM) is caught and triggerscatalina.sh stopfor a safe shutdown. If your CBS needs more than 10 seconds to stop, be sure to use the--time nflag to prevent docker from prematurely resorting tokill.- Add support for SSLv2Hello allowing clients on versions less than v6.21.2.0 to connect.
- Both
/cbs/confand/cbs/downloadpaths get populated with default files if files of the same name do not exist prior to the start of the container (docker-entrypoint.sh usescp --no-clobber).