Sign inSign up

iganarix/os-centos-7

By iganarix

•Updated over 5 years ago

https://github.com/iganari/package-dockerfile/tree/master/30_os/centos-7

Image
0

10K+

iganarix/os-centos-7 repository overview

⁠CentOS 7

⁠Command

  • Create Docker image
docker build . --tag my_$(pwd | awk -F\/ '{print $NF}')
  • Check created Docker image
docker images | grep my_$(pwd | awk -F\/ '{print $NF}')
  • Check OS Version
docker run my_$(pwd | awk -F\/ '{print $NF}') cat /etc/os-release
  • Check Docker Container's LABEL
docker inspect my_$(pwd | awk -F\/ '{print $NF}') | jq .[].ContainerConfig.Labels
  • Lunch and Login Docker Container
docker run -it --rm --entrypoint /bin/sh --name my_$(pwd | awk -F\/ '{print $NF}')_container my_$(pwd | awk -F\/ '{print $NF}')

⁠Docker Hub

  • WIP

Tag summary

Content type

Image

Digest

Size

452.3 MB

Last updated

over 5 years ago

docker pull iganarix/os-centos-7