Execute commands on docker host from webapp

hi,

i am planning to develop a dashboard running with react as a web app on docker. my host is a raspberry pi. now i was searching if i can execute commands like update or install packages etc. but i cant find the right answer.

i am new to the docker dev universe, just consuming in the past and i am sure that i just dont know the word for that.

hope anybody can help me out.

cheers saintenr

You can’t execute commands on the host from a container. This is the point of containers. There was an other topic where I explained it and suggested some solutions:

1 Like