[JumpServer Docker Compose] Run JumpServer with Docker Compose

Install JumpServer with Docker Compose

JumpServer is the world’s first open-source Bastion Host and is licensed under the GPLv3. It is a 4A-compliant professional operation and maintenance security audit system.

JumpServer uses Python / Django for development, follows Web 2.0 specifications, and is equipped with an industry-leading Web Terminal solution that provides a beautiful user interface and great user experience

JumpServer adopts a distributed architecture to support multi-branch deployment across multiple cross-regional areas. The central node provides APIs, and login nodes are deployed in each branch. It can be scaled horizontally without concurrency restrictions.

Prerequisites

  • Docker v20.10.7 or later and docker-compose v1.25.0 or later.
1
2
3
4
5
6
$ docker-compose version
docker-compose version 1.25.0, build unknown

$ docker version
Client: Docker Engine - Community
Version: 20.10.7

Installation

1
2
3
4
5
6
7
$ git clone --depth=1 https://github.com/wojiushixiaobai/Dockerfile.git

$ cd Dockerfile

$ cp config_example.conf .env

$ docker-compose -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose.yml up

Usages

The user name and password of administrator is admin and admin by default.

First, open your browser to visit http://localhost to update password, login JumpServer to manage accounts and assets.

Alternatively, you can log in JumpServer with ssh:

1
$ ssh -p 2222 admin@<Your JumpServer>

FAQs

no matching host key type found. Their offer: ssh-rsa

1
2
$ ssh -p 2222 admin@<Your JumpServer>
Unable to negotiate with 192.168.1.120 port 2222: no matching host key type found. Their offer: ssh-rsa
1
2
3
4
5
6
7
# .ssh/ssh_config

Host <Your JumpServer>
HostName <Your JumpServer>
Port 2222
+ HostkeyAlgorithms +ssh-rsa
+ PubkeyAcceptedKeyTypes +ssh-rsa

References

[1] jumpserver/Dockerfile: Jumpserver all in one Dockerfile - https://github.com/jumpserver/Dockerfile

[2] JumpServer - 开源堡垒机 - 官网 - https://www.jumpserver.org/

[3] jumpserver/jumpserver: JumpServer 是全球首款开源的堡垒机,是符合 4A 的专业运维安全审计系统。 - https://github.com/jumpserver/jumpserver

[4] FIT2CLOUD 飞致云 - 多云时代技术领先的企业级软件提供商 - https://www.fit2cloud.com/