$dockerrun--rm-it--security-optapparmor=your_profilehello-world 从AppArmor卸载配置文件: #stopapparmor$/etc/init.d
hereweuse``&&\``toruncommandsoneaftertheother-the``\``#allowstheRUNcommandtospanmultiplelines.RUN/etc/init.d
]RUNapt-getupdate&&apt-getinstall-yapt-cacher-ngEXPOSE3142CMDchmod777/var/cache/apt-cacher-ng&&/etc/init.d