其他分享
首页 > 其他分享> > 使用appseed中的flask-volt模板

使用appseed中的flask-volt模板

作者:互联网

官网下载自己想要的模板。

下载好的模板里有解说:readme.md,可以docker中打开

下载docker,

启用,遇到问题:Version in "./docker-compose.yml" is unsupported

如果您的文件版本是 3.7 并且您收到以下错误:

ERROR: Version in "./config.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.

这是解决方案: -

(1)sudo apt-get remove docker-composesudo rm /usr/local/bin/docker-compose

(2) sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

(3) sudo chmod +x /usr/local/bin/docker-compose

(4) sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

标签:bin,compose,flask,sudo,volt,version,appseed,docker,usr
来源: https://www.cnblogs.com/AAsisi/p/15767662.html