First time here? Check out the Help page!
1 | initial version |
I get to answer my own question. The reason I am seeing this happen is because I did not remove the volume before creating it again. It would be great if someone like @nllong could explain why this has to be done, but the basic gist of it for a lay person is that once a volume named osdata has been created a first time, it subsequently has to be removed before being recreated for new instances. (this feels a little like phlogiston reasoning, I'm sure it is not quite right).
To solve this problem, you have two options:
do the following:
docker-compose rm -f docker volume rm osdata docker volume create --name=osdata docker-compose up
That extra step to rm osdata is a clean up step. Either way, now my server on AWS is back in business! Thanks to Ry Horsey I think that is @rHorsey for helping me through this.