I forget this container ubuntu password. Is there any method to change it.
41 Answer
You can log into the Docker container using the root user (ID = 0)
instead of the provided default user when you use the -u option:
docker exec -u 0 -it mycontainer bash
docker container exec -u 0 -it mycontainer bash 1