docs(LRN): stack Portainer Attachable=false + TOOLS.md stack project em modo CLI

This commit is contained in:
Pulse Agent
2026-05-20 19:05:50 -03:00
parent 46ce6b67a2
commit dc16c7105a
+19
View File
@@ -301,3 +301,22 @@ Migração de stack Docker Swarm (trocar de nome/namespace):
- Tags: docker, swarm, migration, stack
- Pattern-Key: docker.swarm-stack-migration
## LRN-20260520-010 — Stack Portainer API Attachable=false bloqueia deploy
**Categoria**: knowledge_gap
### Problema
- Rede `public` tem `Attachable: false`
- `docker stack deploy` CLI FUNCIONA mesmo assim (Daemon local ignora)
- Portainer API BLOQUEIA (Docker Remote API respeita `Attachable=false`)
- Erro: `failed to set up container networking: Could not attach to network public: rpc error: code = PermissionDenied desc = network public not manually attachable`
### Decisão tomada
Stack `project` fica gerenciada por `docker stack deploy` CLI (Swarm nativo).
Portainer controla apenas stacks 1,2,4,6,7,8,9 (com SwarmId preenchido).
Stack `project` não é controlável pelo Portainer enquanto `Attachable=false`.
### Para resolver completamente
Recriar rede `public` com `--attachable` impactando 19 containers — NÃO recomendado agora.