Search code examples
dockergoogle-cloud-platformghost-blog

Docker image run error on Google Cloud Platform


I'm trying to install ghost, a open-source blogging platform on Google Cloud Platform using docker. I'm following this tutorial, Link

I successfully installed docker, and I'm trying to install and run the ghost container image by following the tutorial in the link.

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

However, these are my results,

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

Any suggestions?

For any help, I'm running Ubuntu 16.04 LTS on a f1-micro instance.


Solution

  • You should delete whitespace.

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