Sign inSign up

busybox42/bastion-docker-centos

By busybox42

•Updated about 7 years ago

My CentOS 7 bastion host.

Image
1

10K+

busybox42/bastion-docker-centos repository overview

⁠bastion-docker-centos

This repository contains my CentOS bastion image.

⁠Downloading the image

The first step is to pull the image.

docker pull busybox42/bastion-docker-centos

⁠Creating the container

Now that we have the image busybox42/bastion-docker-centoss we can create the container with a few parameters.

docker run --name admin -p 22:22 -h admin.myhost.tld busybox42/bastion-docker-centos

Name the container, expose port 22 for ssh and set a hostname.

⁠Configuring your server

You can connect to the container with this command:

docker exec -it bind bash

Update the config as necessary.

Tag summary

Content type

Image

Digest

Size

196.2 MB

Last updated

about 7 years ago

docker pull busybox42/bastion-docker-centos