Don't add the '.' Just use 'docker-compose build' or 'docker-compose build --pull'
On Mon, May 6, 2019 at 1:19 PM Oscar Esteve <[email protected]> wrote: > Hello. > > Yews, I'm using docker-compose. > > If I try: > root@MyServer:~/dockerize-openwisp# docker-compose build . > WARNING: Some services (controller, dashboard, nginx, postgres, radius, > redis, topology) use the 'deploy' key, which will be ignored. Compose does > not support 'deploy' configuration - use `docker stack deploy` to deploy to > a swarm. > ERROR: No such service: . > I know this docker-compose has missing parameters... but don't know which. > This is what I have in this folder: > root@MyServer:~/dockerize-openwisp# ls -l > total 44 > drwxr-xr-x 8 root root 4096 May 6 17:12 build > -rw-r--r-- 1 root root 6059 May 6 17:12 docker-compose.yml > drwxr-xr-x 2 root root 4096 May 6 17:12 kubernetes > -rw-r--r-- 1 root root 1070 May 6 17:12 LICENSE > -rw-r--r-- 1 root root 988 May 6 17:12 make_secret_key.py > -rw-r--r-- 1 root root 187 May 6 17:12 Pipfile > -rw-r--r-- 1 root root 8397 May 6 17:12 README.md > drwxr-xr-x 2 root root 4096 May 6 17:12 terraform > root@MyServer:~/dockerize-openwisp# > Thank you very much, > Oscar > > > Missatge de Ajay Tripathi <[email protected]> del dia dl., 6 de maig > 2019 a les 18:35: > >> Hi Oscar, >> >> I think the error may be because you are trying to build without >> docker-compose, >> can you please confirm this? >> >> You need to use docker-compose to build the images. >> On the root directory of the repository there is a docker-compose file. >> You need to do `docker-compose build` to build the images >> and `docker-compose up` to bring up the containers. >> >> Best, >> Ajay T. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "OpenWISP" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
