Run the OpenSSH daemon and Python for `chusiang/ansible-jupyter`.
10K+
A Docker image of run the OpenSSH daemon and Python for Ansible.
WARNING: This docker image can be access with ssh by chusiang/ansible-jupyter image. Do not use it on the Production Environment, please.
Dockerfile linksalpine-3.4alpine-3.6 (alpine-3.6/Dockerfile)alpine-3.7, latest (alpine-3.7/Dockerfile)archlinux (archlinux/Dockerfile)centos-6 (centos-7/Dockerfile)centos-7 (centos-7/Dockerfile)debian-7debian-8 (debian-8/Dockerfile)debian-9 (debian-9/Dockerfile)gentooopensuse-42.1opensuse-42.2 (opensuse-42.2/Dockerfile)opensuse-42.3 (opensuse-42.3/Dockerfile)ubuntu-14.04ubuntu-16.04 (ubuntu-16.04/Dockerfile)ubuntu-18.04 (ubuntu-18.04/Dockerfile)root user:
rootrootsudo user:
dockerdockerGet this project.
$ git clone https://github.com/chusiang/ansible-managed-node.dockerfile.git
Go to workspace.
$ cd ansible-managed-node.dockerfile/
Bunild the image.
$ docker build -t chusiang/ansible-managed-node .
Get image.
$ docker pull chusiang/ansible-managed-node
Run the container with daemon mode.
$ docker run --name ansible-managed-node -P -d chusiang/ansible-managed-node
be8a15b9d4da5d24610c1fc738cb13086f01101e90f94640360d8d84892de772
Check container process.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
be8a15b9d4da chusiang/ansible-managed-node "/usr/sbin/sshd -D" 9 minutes ago Up 9 minutes 0.0.0.0:32777->22/tcp ansible-managed-node
Enter container with command line.
$ docker exec -it ansible-managed-node bash
bash-4.3#
Enjoy it !
alpine-3.7, ubuntu-18.04, enable the sudo no password in each images. Stop automated build images of alpine-3.4, debian-7, ubuntu-14.04.Copyright (c) chusiang from 2016-2017 under the MIT license.
Content type
Image
Digest
Size
17.7 MB
Last updated
over 8 years ago
docker pull chusiang/ansible-managed-node