Docker Community Forums

Share and learn in the Docker community.

Suggested change to client bundle file

(Aavillaatyp) #1

Suggested change to client bundle file of:


< export DOCKER_CERT_PATH=$(pwd)
> export DOCKER_CERT_PATH=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)

in order to support sourcing of the file from anywhere in the file system.

(Vivek Saraswat) #3

(Edit: Forum post-writing fail)

Thanks aavillaatyp, we will take a look at this and see what changes we can make.

One issue I can see: This would be bash-specific, which could introduce compatibility issues with other shells.

(Aavillaatyp) #4

Cool. Let me know if there is a better place to put this type of stuff.