比如、类似这样的
alias ffmpeg='docker run --rm -v "$PWD:/tmp/workdir" jrottenberg/ffmpeg:4.1 "$@"'
方便日常操作,类似小程序那样即开即用
1
no1xsyzy 2020 年 11 月 4 日
但是你还要从 hub 拉镜像不是吗(
比各发行版的国内源慢啊 |
2
jim9606 2020 年 11 月 5 日
|
3
initd 2020 年 11 月 5 日
docker-compose up -d
|
4
initd 2020 年 11 月 5 日
zsh, ohmyzsh, 快捷命令
https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/docker-compose |