Git Product home page Git Product logo

docker-bash's Introduction

https://github.com/tianon/docker-bash

Maintained by: Tianon (of the Docker Community), with Chet's support (from Bash upstream)

This is the Git repo of the Docker "Official Image" for bash (not to be confused with any official bash image provided by bash upstream). See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the bash directory.

See a change merged here that doesn't show up on Docker Hub yet?

For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.

For outstanding bash image PRs, check PRs with the "library/bash" label on the official-images repository. For the current "source of truth" for bash, see the library/bash file in the official-images repository.


  • build status badge
  • build status badge
Build Status Badges (per-arch)
amd64 build status badge arm32v6 build status badge arm32v7 build status badge arm64v8 build status badge
i386 build status badge ppc64le build status badge s390x build status badge put-shared build status badge

docker-bash's People

Contributors

a-krause avatar docker-library-bot avatar robert-werner avatar tianon avatar yosifkit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-bash's Issues

ssh-add stuck

I use bash:4.4 to build OpenSSH client image. Dockerfile is bellow:

FROM bash:4.4

RUN set -eux; \
    # openssh = openssh-client + openssh-server + openssh-sftp-server
    apk add -U --no-cache openssh; \
    rm -rf /var/cache/apk/*

COPY ssh /root/.ssh

However, whenever I run it, it always stuck at ssh-add commad.

$ eval $(ssh-agent -s)
$ ssh-add <( cat  /path/to/SSH_PRIVATE_KEY ) # <== stuck here

bad interpreter /bin/bash

Hello,

I get an error, when i run a bash script inside this container with the default interpreter header line:
#!/bin/bash

I fixed it on my container with:
RUN ln -s $(which bash) /bin/bash

Maybe this can be done on official bash image?

Also publish to alternative package registries

I use your images in one of my (Travis) CI builds which started failing due to dockerhub's rate limit. I cannot work around that by using a login because it is a public project which receives external PRs that won't get the login credentials from Travis.

Could you republish your images on other registries like quay.io or ghcr.io, so we can move on?

Process substitution hangs out on Bash 4.4

Hello! Not sure whether this is a docker-bash issue or an alpine issue, so excuse me if this is not the right place.

When using Process substiution in the standard way, terminal just hangs out. It seems Bash enters some infinite loop or something, because the process starts consuming too much cpu.

emasoero@emasoero-X555LAB:~$ docker run -ti bash:4.4
bash-4.4# cat <(ls)
bin
dev
etc
home
lib
media
mnt
proc
root
run
sbin
srv
sys
tmp
usr
var
^C^C

I manually installed bash 4.4 on an ubuntu docker image (16.04) and it works fine

Image pull fail on official docker bash

I started getting an image pull failure in my gitlab runner. I run this maybe monthly, last few months were fine.

my YAML had:

name: bash <---- original

tried
name: bash:latest <---- still failed
then
name: https://hub.docker.com/_/bash:latest

Trying another image worked so, it seems like something changed on this side. Do I need additional parameters?
runner_fail

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.