In some case it will be required to shell into a container to modify internal configuration items. To do so simply perform the following command on the specific container required.
docker exec -it <container_name> bash e.g. docker exec -it wazuh bash
The exec instructions tells Docker to execute inside the container. The -it instruction tells it to be interactive. Bash is the shell interpreter that is to be used. This will allow you shell access inside the container.