Comments (8)
I don't see that behavior in develop
:
❯ invoke serve-docs
Starting Nautobot in detached mode...
Running docker compose command "up --detach"
PYTHON_VER=3.12 \
docker compose \
--project-name "nautobot" \
--project-directory "/Users/glennmatthews/Documents/git-stuff/nautobot/development/" \
-f "/Users/glennmatthews/Documents/git-stuff/nautobot/development/docker-compose.yml" \
-f "/Users/glennmatthews/Documents/git-stuff/nautobot/development/docker-compose.postgres.yml" \
-f "/Users/glennmatthews/Documents/git-stuff/nautobot/development/docker-compose.dev.yml" up \
--detach mkdocs
Container nautobot-mkdocs-1 Creating
Container nautobot-mkdocs-1 Created
Container nautobot-mkdocs-1 Starting
Container nautobot-mkdocs-1 Started
❯ invoke stop
Stopping Nautobot...
Running docker compose command "down"
PYTHON_VER=3.12 \
docker compose \
--project-name "nautobot" \
--project-directory "/Users/glennmatthews/Documents/git-stuff/nautobot/development/" \
-f "/Users/glennmatthews/Documents/git-stuff/nautobot/development/docker-compose.yml" \
-f "/Users/glennmatthews/Documents/git-stuff/nautobot/development/docker-compose.postgres.yml" \
-f "/Users/glennmatthews/Documents/git-stuff/nautobot/development/docker-compose.dev.yml" down
Container nautobot-celery_beat-1 Stopping
Container nautobot-mkdocs-1 Stopping
Container nautobot-celery_worker-1 Stopping
Container nautobot-celery_beat-1 Stopping
Container nautobot-mkdocs-1 Stopping
Container nautobot-celery_worker-1 Stopping
Container nautobot-celery_beat-1 Stopped
Container nautobot-celery_beat-1 Removing
Container nautobot-celery_beat-1 Removed
Container nautobot-celery_worker-1 Stopped
Container nautobot-celery_worker-1 Removing
Container nautobot-celery_worker-1 Removed
Container nautobot-nautobot-1 Stopping
Container nautobot-nautobot-1 Stopping
Container nautobot-nautobot-1 Stopped
Container nautobot-nautobot-1 Removing
Container nautobot-nautobot-1 Removed
Container nautobot-redis-1 Stopping
Container nautobot-redis-1 Stopping
Container nautobot-db-1 Stopping
Container nautobot-db-1 Stopping
Container nautobot-selenium-1 Stopping
Container nautobot-selenium-1 Stopping
Container nautobot-db-1 Stopped
Container nautobot-db-1 Removing
Container nautobot-db-1 Removed
Container nautobot-redis-1 Stopped
Container nautobot-redis-1 Removing
Container nautobot-redis-1 Removed
Container nautobot-selenium-1 Stopped
Container nautobot-selenium-1 Removing
Container nautobot-selenium-1 Removed
Container nautobot-mkdocs-1 Stopped
Container nautobot-mkdocs-1 Removing
Container nautobot-mkdocs-1 Removed
Network nautobot_default Removing
Network nautobot_default Removed
❯ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
❯ docker compose version
Docker Compose version v2.13.0
❯
Can you confirm your docker compose version?
from nautobot.
Version is 2.26.1
❯ docker compose version
Docker Compose version v2.26.1
I'm getting the following:
❯ inv stop
Stopping Nautobot...
Running docker compose command "down"
PYTHON_VER=3.8 \
docker compose \
--project-name "nautobot" \
--project-directory "/home/joshv/projects/nautobot/development/" \
-f "/home/joshv/projects/nautobot/development/docker-compose.yml" \
-f "/home/joshv/projects/nautobot/development/docker-compose.postgres.yml" \
-f "/home/joshv/projects/nautobot/development/docker-compose.dev.yml" down
time="2024-04-26T11:45:45-05:00" level=warning msg="/home/joshv/projects/nautobot/development/docker-compose.yml: `version` is obsolete"
time="2024-04-26T11:45:45-05:00" level=warning msg="/home/joshv/projects/nautobot/development/docker-compose.postgres.yml: `version` is obsolete"
time="2024-04-26T11:45:45-05:00" level=warning msg="/home/joshv/projects/nautobot/development/docker-compose.dev.yml: `version` is obsolete"
Network nautobot_default Removing
Network nautobot_default Resource is still in use
Checking the interwebs about it.
from nautobot.
I was able to replicate it:
root@ntc ~/nautobot develop nautobot-bzAc2NSp-py3.8 ❯ inv serve-docs
Starting Nautobot in detached mode...
Running docker compose command "up --detach"
PYTHON_VER=3.8 \
docker compose \
--project-name "nautobot" \
--project-directory "/root/nautobot/development/" \
-f "/root/nautobot/development/docker-compose.yml" \
-f "/root/nautobot/development/docker-compose.postgres.yml" \
-f "/root/nautobot/development/docker-compose.dev.yml" up \
--detach mkdocs
time="2024-04-26T11:55:34-05:00" level=warning msg="/root/nautobot/development/docker-compose.yml: `version` is obsolete"
time="2024-04-26T11:55:34-05:00" level=warning msg="/root/nautobot/development/docker-compose.postgres.yml: `version` is obsolete"
time="2024-04-26T11:55:34-05:00" level=warning msg="/root/nautobot/development/docker-compose.dev.yml: `version` is obsolete"
Network nautobot_default Creating
Network nautobot_default Created
Container nautobot-mkdocs-1 Creating
Container nautobot-mkdocs-1 Created
Container nautobot-mkdocs-1 Starting
Container nautobot-mkdocs-1 Started
root@ntc ~/nautobot develop nautobot-bzAc2NSp-py3.8 ❯ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
534fb0e824e2 local/nautobot-dev:local-py3.8 "mkdocs serve -a 0.0…" 4 seconds ago Up 4 seconds 0.0.0.0:8001->8001/tcp, :::8001->8001/tcp, 8080/tcp nautobot-mkdocs-1
root@ntc ~/nautobot develop nautobot-bzAc2NSp-py3.8 ❯ inv stop
Stopping Nautobot...
Running docker compose command "down"
PYTHON_VER=3.8 \
docker compose \
--project-name "nautobot" \
--project-directory "/root/nautobot/development/" \
-f "/root/nautobot/development/docker-compose.yml" \
-f "/root/nautobot/development/docker-compose.postgres.yml" \
-f "/root/nautobot/development/docker-compose.dev.yml" down
time="2024-04-26T11:55:41-05:00" level=warning msg="/root/nautobot/development/docker-compose.yml: `version` is obsolete"
time="2024-04-26T11:55:41-05:00" level=warning msg="/root/nautobot/development/docker-compose.postgres.yml: `version` is obsolete"
time="2024-04-26T11:55:41-05:00" level=warning msg="/root/nautobot/development/docker-compose.dev.yml: `version` is obsolete"
Network nautobot_default Removing
Network nautobot_default Resource is still in use
root@ntc ~/nautobot develop nautobot-bzAc2NSp-py3.8 ❯
Same docker compose version as Josh.
from nautobot.
Thanks for the data. I can see that I need to update my local docker, but interesting that this has changed.
from nautobot.
@smk4664 would love to also see what you have to think on this? Do you have the same behavior?
from nautobot.
I do not have this issue, but I did need to do invoke build
before I could do the invoke serve-docs
.
from nautobot.
Might just be as simple as changing the stop
task definition to perform docker compose down --profile '*'
? Haven't tried.
from nautobot.
Needs to be docker compose --profile '*' down
but that works for me both with docker 4.15 and after upgrading to 4.29.
from nautobot.
Related Issues (20)
- API version 2.0/2.1 not honored for `available-prefixes` endpoint in v2.2 HOT 1
- A long running custom field cleanup task will fail HOT 1
- Misleading error messages when assigning choices while creating a MetadataType that fails HOT 1
- Update ModuleType yaml/json import to translate comments field
- Column role is missing under device -> interfaces (and the configure button does nothing) HOT 1
- Installed Apps Page - Provide Link to the Static Files for Docs HOT 1
- Update GitHub Templates - Plugin -> Apps
- API endpoint `prefix-location-assignments` not able to filter by prefix UUID HOT 1
- Test fixture JSON file should be named/identified by the hash of database migrations
- Make unittest `--cache-test-fixtures` and `--keepdb` arguments default-true
- Enforce that any specified `scoped_fields` actually exist on the given associated_object as a part the validation process for `ObjectMetadata` instances
- Dynamic Groups support OR filtering for Tags HOT 2
- Investigate edge case in ObjectMetadata clean() method.
- Enhance generic filter tests to include negative tests
- Consolidate list view bulk action buttons
- Consolidate list view standard action buttons
- Consolidate detail view standard action buttons
- Cloud Service Model
- Basic celery worker status page HOT 1
- Update docs about Ubuntu 24.04 and Nautobot 2.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nautobot.