Skip to content

faroe228/docker-alpine-bash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

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

About

Run bash in alpine Linux docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published