Skip to content

Instantly share code, notes, and snippets.

@lparolari
Last active October 21, 2020 20:34
Show Gist options
  • Save lparolari/8a19fb3182c499be3702c75f048e7a92 to your computer and use it in GitHub Desktop.
Save lparolari/8a19fb3182c499be3702c75f048e7a92 to your computer and use it in GitHub Desktop.

Docker Aliases

go

You may need to pull golang binaries with docker pull golang.

# Alias go with docker go and maps current working directory to container.
alias go="docker run -v $(pwd):/app -w /app golang go"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment