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

6번째 줄: 6번째 줄:
root@localhost:~# docker run -e "deep=purple" --rm alpine env
root@localhost:~# docker run -e "deep=purple" --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=eba9b47e95a2
HOSTNAME=8077eb6e5f91
deep=purple
deep=purple
HOME=/root
</source>
<source lang='console'>
root@localhost:~# docker run -e "deep=purple" -e "radio=head" --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=37b339a8b567
deep=purple
radio=head
HOME=/root
HOME=/root
</source>
</source>
<source lang='console'>
<source lang='console'>
root@localhost:~# export today=Wednesday
root@localhost:~# export today=Wednesday
root@localhost:~# docker run -e "deep=purple" -e today --rm alpine env
root@localhost:~# docker run -e "deep=purple" -e "radio=head" -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=dd03a51e7d65
HOSTNAME=e33616fa5ca9
deep=purple
deep=purple
radio=head
today=Wednesday
today=Wednesday
HOME=/root
HOME=/root

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

1 개요

docker run -e
root@localhost:~# docker run -e "deep=purple" --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=8077eb6e5f91
deep=purple
HOME=/root
root@localhost:~# docker run -e "deep=purple" -e "radio=head" --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=37b339a8b567
deep=purple
radio=head
HOME=/root
root@localhost:~# export today=Wednesday
root@localhost:~# docker run -e "deep=purple" -e "radio=head" -e today --rm alpine env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=e33616fa5ca9
deep=purple
radio=head
today=Wednesday
HOME=/root

2 같이 보기

3 참고

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