Skip to content

nowage/dockertest1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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 nowage/ubuntu:test .
	docker run -it --rm --name u1  nowage/ubuntu:test

Get the port that the container is listening on:

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

To test, ("nowage" is username. )

	tree

To Rollback

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors