I have created a container and it is running fine via CLI, when I connect to the WebUI I recieve error: “Is your daemon running?”, “Unable to connect to API”.
I am then given commands to enable access between WebUI and IPFS daemon. When I run these commands, and restart the container to enable the changes to the config, the container will constantly restart.
When checking the logs of the container I can see:
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
Error: error loading plugins: failure to decode config: invalid character ‘]’ after object key
Error: error loading plugins: failure to decode config: invalid character ‘]’ after object key
Anyone have an idea what is causing this? I have made previous container run fine with these commands
Also to be clear, it does take these commands but when restarting the container for the daemon to start using the new configurations is when I get the errors:
Error: error loading plugins: failure to decode config: invalid character ‘]’ after object key
Error: error loading plugins: failure to decode config: invalid character ‘]’ after object key
Yes I was using the proper quotations, sorry about that. Also to note, it is possible to go inside the container and manually put the entire config inside and it will work… But I am trying to automate this process
Same here would like to know the solution, tried adding script to run commands given on error page for CORS through Install IPFS Kubo inside Docker | IPFS Docs. Running in docker compose with ipfs/kubo:latest, works when I am not using docker.