---
# System prepended metadata

title: Docker aliases
tags: [docker]

---

###### tags: `docker`

# Docker aliases

(full article by 
Andrew Welch here: https://nystudio107.com/blog/dock-life-using-docker-for-all-the-things)

```shell
alias composer='docker run --rm -it -v `pwd`:/app -v ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer '
alias composer1='docker run --rm -it -v `pwd`:/app -v ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer:1 '

alias node='docker run --rm -it -v `pwd`:/app -w /app node:16-alpine '
alias node14='docker run --rm -it -v `pwd`:/app -w /app node:14-alpine '
alias node12='docker run --rm -it -v `pwd`:/app -w /app node:12-alpine '
alias node10='docker run --rm -it -v `pwd`:/app -w /app node:10-alpine '
alias npm='docker run --rm -it -v `pwd`:/app -w /app node:16-alpine npm '

alias deno='docker run --rm -it -v `pwd`:/app -w /app denoland/deno '

alias aws='docker run --rm -it -v ~/.aws:/root/.aws amazon/aws-cli '

alias ffmpeg='docker run --rm -it -v `pwd`:/app jrottenberg/ffmpeg '
alias yo='docker run --rm -it -v `pwd`:/app nystudio107/node-yeoman:16-alpine '
```


![](https://i.imgur.com/aEDYJn3.png)
![](https://i.imgur.com/pKAYNzi.png)
