i want to kill a running process like a Django webserver inside a Docker container without killing the container itself but for some reason if i do docker exec -it <container> ps -aux
and then docker exec <container> kill <pid>
it will kill my docker instance and i don't want that.
How can i address this issue?