Giter Site home page Giter Site logo

lukahuang / ansible-managed-node.dockerfile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chusiang/ansible-managed-node.dockerfile

0.0 1.0 0.0 42 KB

Building the Docker image with run the OpenSSH daemon and Python for Ansible.

Home Page: https://hub.docker.com/r/chusiang/ansible-managed-node/

License: MIT License

Makefile 73.09% Shell 26.91%

ansible-managed-node.dockerfile's Introduction

Docker image: Ansible Managed Node

Docker Hub microbadger

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.

Supported tags and respective Dockerfile links

Account

root user:

  • username: root
  • password: root

sudo user:

  • username: docker
  • password: docker

Build image

  1. Get this project.

    $ git clone https://github.com/chusiang/ansible-managed-node.dockerfile.git
    
  2. Go to workspace.

    $ cd ansible-managed-node.dockerfile/
    
  3. Bunild the image.

    $ docker build -t chusiang/ansible-managed-node .
    

Run container

  1. Get image.

    $ docker pull chusiang/ansible-managed-node
    
  2. Run the container with daemon mode.

    $ docker run --name ansible-managed-node -P -d chusiang/ansible-managed-node
    be8a15b9d4da5d24610c1fc738cb13086f01101e90f94640360d8d84892de772
    
  3. 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
    
  4. Enter container with command line.

    $ docker exec -it ansible-managed-node bash
    bash-4.3# 
    

Enjoy it !

License

Copyright (c) chusiang from 2016 under the MIT license.

ansible-managed-node.dockerfile's People

Contributors

chusiang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.