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