"Docker run -e"의 두 판 사이의 차이

4번째 줄: 4번째 줄:


<source lang='console'>
<source lang='console'>
$ export today=Wednesday
# docker run -e "deep=purple" --rm alpine env
$ docker run -e "deep=purple" -e today --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=eba9b47e95a2
deep=purple
HOME=/root
</source>
<source lang='console'>
# export today=Wednesday
# docker run -e "deep=purple" -e today --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=d2219b854598
HOSTNAME=d2219b854598

2019년 9월 24일 (화) 11:15 판

1 개요

docker run -e
# docker run -e "deep=purple" --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=eba9b47e95a2
deep=purple
HOME=/root
# export today=Wednesday
# docker run -e "deep=purple" -e today --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=d2219b854598
deep=purple
today=Wednesday
HOME=/root

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}