You are running a container which is xx days old…

Recently, when running an instance of a Microsoft Dynamics NAV Docker image from the docker hub, you will get a message like:

You are running a container which is 78 days old.
Microsoft recommends that you always run the latest version of our containers.

What does this mean? what happens if you just ignore this? and what can you do about it?

What does this mean?

Well, it means that the image you are about to use is based on a generic image, which is 78 days old. It might sound like it implies that there is a newer image – but that is not necessarily true.

The reason for the warning is basically that your container might be based on an old windows server core image which might need security updates or other updates.

What happens if you just ignore this?

Note that if the image is more than 90 days old – the warning will turn into an error.

What can you do about it?

When using NavContainerHelper, you can specify -alwaysPull to always make sure that you are running the latest image version and you can use -accept_outdated in order to turn the error into a warning.

If you are using docker run – you need to use –env accept_outdated=Y in order to not be blocked by the error.

 

Hope this is helpful

Freddy Kristiansen
Technical Evangelist

1 thought on “You are running a container which is xx days old…

  1. Be aware, that even with -alwaysPull you can get containers that will give you the warning right away, just because Microsoft is not rebuilding all images every XX (Less than 90) days. I’m just using -accept_outdated on all my containers 🙂

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s