If you’re using Docker Composer in your project:
docker-compose exec <service_name> bashCode language: Bash (bash)
Or, if you want to get into any kind of container:
docker exec <container_name_or_id> bashCode language: Bash (bash)
According to your system needs, you might need to add “-it” flag after “exec” parameter.