Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[反例] Docker 最差实践 #169

Closed
khs1994 opened this issue Feb 28, 2018 · 3 comments
Closed

[反例] Docker 最差实践 #169

khs1994 opened this issue Feb 28, 2018 · 3 comments
Labels

Comments

@khs1994
Copy link
Member

khs1994 commented Feb 28, 2018

  • #157 使用 --links 参数
@khs1994 khs1994 changed the title [反例] Docker 最坏实践 [反例] Docker 最差实践 Feb 28, 2018
@khs1994
Copy link
Member Author

khs1994 commented Mar 3, 2018

@khs1994
Copy link
Member Author

khs1994 commented Mar 3, 2018

  • 一个容器包含 N 个服务(一个镜像安装了 N 个服务)

@khs1994-docker khs1994-docker deleted a comment from qiuyimo Mar 21, 2018
@khs1994-docker khs1994-docker locked and limited conversation to collaborators Mar 21, 2018
@khs1994
Copy link
Member Author

khs1994 commented Apr 24, 2018

  • 使用 latest 标签
# this command is bad

$ docker run -it --rm nginx

# this command is good

$ docker run -it --rm nginx:1.13.12-alpine

@khs1994 khs1994 added the bad label Apr 24, 2018
@khs1994 khs1994 closed this as completed Aug 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant