Google Cloud Platform上的Docker镜像运行错误

问题描述 投票:0回答:1

我正在尝试使用docker在Google Cloud Platform上安装ghost,一个开源博客平台。我正在关注本教程,Link

我成功安装了docker,我正在尝试按照链接中的教程安装并运行ghost容器映像。

$ sudo docker run -d -p 80:2368 --name ghost -e url="https://<your blog domanin>" -v ~/ghost:/var /lib/ghost/content ghost

但是,这些是我的结果,

docker: invalid reference format.
See 'docker run --help'.

有什么建议?

对于任何帮助,我在f1-micro实例上运行Ubuntu 16.04 LTS。

docker google-cloud-platform ghost-blog
1个回答
0
投票

你应该删除空格。

~/ghost:/var /lib/ghost/content - > ~/ghost:/var/lib/ghost/content

© www.soinside.com 2019 - 2024. All rights reserved.