docker exec it id code example Example: docker exec -it id command it ensures that when you exit from contianer it is still running