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

Hacer más comprobaciones sobre las imágenes Docker #278

Open
JJ opened this issue Jan 13, 2024 · 1 comment
Open

Hacer más comprobaciones sobre las imágenes Docker #278

JJ opened this issue Jan 13, 2024 · 1 comment

Comments

@JJ
Copy link
Owner

JJ commented Jan 13, 2024

Cosas como el LABEL o la VERSION, que son parte de las buenas
prácticas y siempre se indican, serían convenientes. Medir el
tamaño (que igual la gente no lo sabe) tampoco vendría mal; saber
el WORKDIR y ver si es correcto también.

@JJ
Copy link
Owner Author

JJ commented Jan 13, 2024

Efectivamente, se puede ver el WORKDIR con esta orden:

docker image inspect -f '{{.Config.WorkingDir}}' {image-name}

De aquí

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant