Production ready multi services Server Manager
10K+
Production ready multi services Cloud Native Server Manager
2.0.X-BUILD, 2.0.X, 2.0, 2, latest (Debian 13 trixie)1.14.2-49, 1.14.2, 1.14, 1 (Debian 11 bullseye, no longer updated)Where X is the patch version number, and BUILD is the build number (look into project Tags page to discover the latest versions).
Images are rebuilt every week with the latest OS security updates, so the X.Y.Z, X.Y and X
tags always point to a patched image; X.Y.Z-BUILD never changes.
Upgrading from 1.x: the base is Debian 13 (PHP 8.4, OpenSSH 10, MySQL client 8.4 LTS, Node.js 24,
Cronicle 0.9.147). Back up the Cronicle data volume (/usr/local/cronicle/data) before the upgrade.
Server Manager is useful when you need a containerized full stack server with legacy services running inside it. Like an SSH server, FTP server, OpenVPN Client/Server, run cron jobs, etc... For example you can use server-manager when you need a way to upload files via FTP inside your docker infrastructure shared by NFS server You can automatically create users and group using ad formatted csv file imported during container startup
docker pull izdock/server-manager
docker run -it --rm izdock/server-manage
You can test it by configuring your ssh client to use container-ip:22
If you need access outside the host, on port 21, 22, 80:
docker run -it --rm -p 21:21 -p 22:22 -p 80:80 -p 222:222 izdock/postfix
Run server-manager creating users and grups from external file:
docker run -it --rm -p 21:21 -p 22:22 -p 80:80 -p 222:222 -e CSV_REMOVE=false -v /local/path/.users.csv:/.users.csv -v /local/path/.groups.csv:/.groups.csv izdock/postfix
Every component version and its sha256 is in
versions.env, the single
source of truth of the build (the base image too); the build logic is build/install.sh.
git clone https://github.com/ugoviti/izdock-server-manager.git && cd izdock-server-manager
tools/build.sh # -> izdock/server-manager:local
Inside the container the versions are in /usr/src/server-manager/versions.env.
docker run -it --rm -e CSV_IMPORT=false -e CRONICLE_ENABLED=true -p 2222:2222 -p 3012:3012 --name server-manager izdock/server-manager:local
id;username;password;groups;home;shell
Example:
1000;john;8EZyYtUNeNS8XSrz;sudo,admins,tomcat,www-data;;/bin/bash
1001;mario.rossi;HaDDoY2nUc7gnfdM;www-data;;/bin/bash
1002;webcommerce;sCoLSt7TCdP6GkDd;tomcat,www-data;/frontend/webcommerce;/sbin/nologin
id;groupname
Example:
512;admins
33;www-data
91;tomcat
On a new Cronicle data volume (/usr/local/cronicle/data) the admin user gets the password of
CRONICLE_ADMIN_PASSWORD, or a random one printed in the container log when the variable is empty
(Cronicle itself would create admin/admin). Existing data volumes keep their users and passwords.
Follow all usable runtime environment variables with default values
## hostname configuration
: ${SERVERNAME:=$HOSTNAME} # (**$HOSTNAME**) default web server hostname
## user and groups management
: ${CSV_USERS:="/.users.csv"} # import users using this csv
: ${CSV_GROUPS:="/.groups.csv"} # import groups using this csv
: ${CSV_REMOVE:="true"} # remove the import files for security reason
## security
: ${ROOT_PASSWORD:="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 ; echo '')"} # default root password
: ${ROOT_MAILTO:="root@localhost"} # default root mail address
## supervisord services
: ${CRON_ENABLED:="true"}
: ${HTTPD_ENABLED:="true"}
: ${OPENVPN_ENABLED:="false"}
: ${SYSLOG_ENABLED:="true"}
: ${NRPE_ENABLED:="false"}
: ${ZABBIX_ENABLED:="false"}
: ${SSH_ENABLED:="true"}
: ${FTP_ENABLED:="true"}
: ${PMA_ENABLED:="true"}
: ${CERTBOT_ENABLED:="false"}
: ${MTA_ENABLED:="true"}
: ${POSTFIX_ENABLED:="false"}
## zabbix configuration
: ${ZABBIX_USR:="zabbix"}
: ${ZABBIX_GRP:="zabbix"}
: ${ZABBIX_SERVER:="127.0.0.1"}
: ${ZABBIX_SERVER_ACTIVE:="127.0.0.1"}
: ${ZABBIX_HOSTNAME:="${HOSTNAME}"}
: ${ZABBIX_HOSTMETADATA:="Linux"}
## service name mapping
: ${ZABBIX_DAEMON:="zabbix-agent2"}
: ${SSH_DAEMON:="sshd"}
: ${FTP_DAEMON:="proftpd"}
: ${SYSLOG_DAEMON:="rsyslog"}
## ssh configuration
: ${SSH_PERMIT_ROOT:="yes"}
: ${SSH_PORT:=2222}
: ${SSH_SSL_KEYS_DIR:="/etc/ssh"}
## ftp service configuration
: ${FTP_PORT:=21}
: ${FTP_PASV_ADDR:="$(ip route|awk '/^default/ {print $3}')"}
: ${FTP_PASV_MIN:=21000}
: ${FTP_PASV_MAX:=21100}
: ${FTP_FTPS_ENABLED:="false"}
: ${FTP_FTPS_PORT:=990}
: ${FTP_FTPS_FORCED:="false"}
: ${FTP_SFTP_ENABLED:="true"}
: ${FTP_SFTP_PORT:=22}
: ${FTP_SSL_KEYS_DIR:="/etc/ssl/private"}
## http service configuration
: ${HTTPD_PORT:=80}
## smtp options
: ${domain:="$HOSTNAME"} # local hostname
: ${from:="[email protected]"} # default From email address
: ${host:="localhost"} # remote smtp server
: ${port:=25} # smtp port
: ${tls:="off"} # (**on**|**off**) enable tls
: ${starttls:="off"} # (**on**|**off**) enable starttls
: ${username:=""} # username for auth smtp server
: ${password:=""} # password for auth smtp server
: ${timeout:=3600} # connection timeout
Customize environment variables
Where to get help: InitZero Enterprise Support
Where to file issues: https://github.com/ugoviti
Maintained by: Ugo Viti
Supported architectures:
[amd64]
Supported Docker versions: the latest release (down to 1.6 on a best-effort basis)
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
sha256:47ce73724…
Size
368 MB
Last updated
about 19 hours ago
docker pull izdock/server-manager