Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 827 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 827 Bytes

Run bash in alpine docker

It is my test on building a docker image based on small alpine docker image , you can build images less 50MB or even 10 MB

I also made slef built base image , it demos how base image gets build

Instructions

  • Run bash
docker pull yikaus/alpine-bash
docker run --rm -ti yikaus/alpine-bash /bin/bash
  • Check available package can be built on alpine
docker pull gliderlabs/alpine
docker run --rm gliderlabs/alpine /sbin/apk --update search -v PKG_NAME

example:

docker run --rm gliderlabs/alpine /sbin/apk --update search -v nginx
  • Directly running shell on base image
docker run --rm -ti gliderlabs/alpine /bin/sh