Skip to content

seedhunt/test1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dockerfiles-ubuntu-user-adderable

Ubuntu, It support base user creation and password setting.

Building & Running

Copy the sources to your docker host and build the container, and to run.

	docker build   --rm -t seedhunt/ubuntu:test .
	docker run -it --rm --name u1  seedhunt/ubuntu:test

Get the port that the container is listening on:

# docker ps
CONTAINER ID        IMAGE                COMMAND             CREATED             STATUS              PORTS               NAMES
fc199e02d300        seedhunt/ubuntu:test   "/bin/bash"         41 seconds ago      Up 40 seconds                           u1

To test, ("seedhunt" is username. )

	tree

To Rollback

    docker rm u1 -f
    docker rmi seedhunt/ubuntu:test

About

연습용

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published