You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, I've reproduced the issue using the 'main' branch of this project
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.
Activity
Fix: prevent delete default network (apple#1083)
Fix: prevent delete default network (apple#1083)
Squashed commit of the following:
Squashed commit of the following: