docker-compose up -d nginx mysql
问题是我遇到以下错误:
E: There were unauthenticated packages and -y was used without --allow-unauthenticated ERROR: Service 'workspace' failed to build: The command '/bin/sh -c apt-get update -yqq && apt-get -yqq install nasm' returned a non-zero code: 100`
有没有办法让它使用yum而不是apt-get?
(我是一个服务器noob,以为docker会很容易,似乎是这样。只是不明白为什么要用apt-get代替yum。谢谢。)
我建议阅读不同包装系统的问题: Getting apt-get on an alpine container
但是,请阅读链接的评论。