Sign inSign up

kangseoju/ubuntu2

By kangseoju

•Updated over 2 years ago

Image
0

36

kangseoju/ubuntu2 repository overview

⁠Build Source https://github.com/kangseoju/DockerBuildTest⁠

⁠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 kangseoju/ubuntu2:test .
	docker run -it --rm --name u1  kangseoju/ubuntu2:test

Get the port that the container is listening on:

# docker ps
CONTAINER ID        IMAGE                    COMMAND             CREATED             STATUS              PORTS               NAMES
63a0ba73bf81        kangseoju/ubuntu2:test   "/bin/bash"         4 seconds ago       Up 3 seconds                            u1

To test,

	tree

To Rollback

    docker rm u1 -f 
    docker rmi kangseoju/ubuntu2:test

Tag summary

Content type

Image

Digest

sha256:a057de89e…

Size

79.4 MB

Last updated

over 2 years ago

docker pull kangseoju/ubuntu2:test