I have a Dockerized R Shiny app that extends the rocker/shiny image. I would like to restart the shiny-server inside of the Docker container at some point. From the documentation of shiny-server, I tried all the commands for different Linux builds and none of them worked.
Does anyone know how to restart the shiny-server in the Docker container?
The command
lists all running containers, get the required container id. Then run
to get into the required docker container. Then
to restart the shiny server. Hope that helps, systemctl will probably only work on Ubuntu.