I have done the following
Steps to reproduce
container network delete --all
Current behavior
% container network delete --all
Warning! Running debug build. Performance may be degraded.
failed to delete network default: invalidArgument: "cannot delete system subnet default"
Error: internalError: "delete failed for one or more networks: ["default"]"
Expected behavior
container network delete --all prints any deleted resources to stdout, like any resource delete command.
- The operation does not try to delete system-owned resources, such as the
default network.
Preferably, the implementation would transition us from using hardcoded names to labels, so that it's easier to reason about resources regardless of resource type. We could use a com.apple.container.something label key that indicates a system managed resource that should be filtered out of delete commands.
Environment
- OS: 26
- Xcode: 26
- Container: main
Relevant log output
Code of Conduct
I have done the following
Steps to reproduce
Current behavior
Expected behavior
container network delete --allprints any deleted resources to stdout, like any resource delete command.defaultnetwork.Preferably, the implementation would transition us from using hardcoded names to labels, so that it's easier to reason about resources regardless of resource type. We could use a
com.apple.container.somethinglabel key that indicates a system managed resource that should be filtered out of delete commands.Environment
Relevant log output
Code of Conduct