How to add capability to a running container

the application tested by our company is deployed on a container, but it takes time to modify to meet the testing of a function

the only way I can think of at present is
1. Modify the time of the host and re-run a new container
2. Add to the container-- cap-add SYS_TIME runs a new container

but I don"t want to create a new container. I want to modify the existing container and add this-- cap-add SYS_TIME, to it instead of creating a new container. Is there any way

Sep.01,2021
Menu