Upgrade Jenkins in Docker Container

I have Jenkins in a docker container that is out of date. How can I upgrade Jenkins in container. Thank’s in advance.

You need to update the image you are using to start your container.

If you are using a custom image, you need to update its base image and built it.

Can you elaborate your current setup? How did you start the current instance?

Adrien, thanks for the help. Yesterday when I was updating the application my computer broke and I lost all the information. I’m installing a new disk doing all the installations again.