Posted at

docker-compose up invalid volume specification


errorlog

WARNING: Service "nuxt" is using volume "/src" from the previous container. Host mapping "/nuxt/app" has no effect. Remove the existing containers (with `docker-compose rm nuxt`)Recreating 8539d43fc4bd_nr_nuxt ... error

ERROR: for 8539d43fc4bd_nr_nuxt Cannot create container for service nuxt: invalid volume specification: 'a7911443fcd9b93c14e4fd89e05b5f432552a430bb7f2e4cad780a82e1f96fdb:.:rw': invalid mount config for type "volume": invalid mount path: '.' mount path must be absolute


ずっと、ERROR見てた

WARNINGの方が大事な時もあるのか。。


warning最後の方

docker-compose rm nuxt


コマンドを実行した後にdocker-compose upでOK