Pin the NetBox Docker version in the docker-compose.yml file #520
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue: n/a
New Behavior
The version of the NetBox Docker image in the
docker-compose.yml
file is pinned to the specific minor version compatible with the current release of NetBox Docker.Contrast to Current Behavior
Currently we use the
latest
tag by default.But the NetBox Docker images are tagged with the version of NetBox they contain.
But only certain releases of NetBox Docker support certain versions of NetBox.
This lead to frustration when upgrading for a lot of users, because it's not obvious how the versions (NetBox Docker, NetBox, NetBox Docker image) are tied to each other.
The
latest
tag might point to a version of NetBox, which is not yet supported by NetBox Docker. This leads to frustration.Discussion: Benefits and Drawbacks
By pinning the specific version of NetBox we support, I hope to reduce that frustration. I.e. that a user runs
docker compose pull
in the project's directory, which will eventually fetch a version of the NetBox Docker image that is not yet supported.Changes to the Wiki
There should be no changes necessary.
Proposed Release Note Entry
Double Check
develop
branch.