DEV Community

Discussion on: Top docker images that I tend to use ad-hoc

Collapse
 
sergsoares_15 profile image
Sergio Soares

Great, using docker ad-hoc is really great. I already either use git in this way.

function git () {
    (docker run -ti --rm -v ${HOME}:/root -v $(pwd):/git alpine/git "$@")
}

Like this is possible use git normally.

git pull origin master
git checkout -b

Exists some drawbacks, but is useful and work well.

A lot of options really.