📜  sudo 未找到 docker - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:28.639000             🧑  作者: Mango

代码示例1
# FROM ubuntu:12.04

# RUN 
apt-get update 
# And
apt-get -y install sudo

#RUN 
useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo

USER docker
CMD /bin/bash