-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Reference: https://task.ms/61506292
Create container with --rm option
PS C:\src\wsl> wslc container create --name Demo -e 'A=B' --rm alpine:latest env
e3fe954042919aded004bf25334f8046c88a31c98d2e4b9b5ab97153217cb66d
PS C:\src\wsl> wslc start Demo -a
Element not found.
Error code: ERROR_NOT_FOUND
Starting container with attach option
PS C:\src\wsl> wslc container create --name Demo -e 'A=B' alpine:latest env
ddd34f7f0c433354d2a84045e7d144e863d6a8a7e1cd0c43599c93379e40671a
PS C:\src\wsl> wslc start Demo -a
The group or resource is not in the correct state to perform the requested operation.
Error code: ERROR_INVALID_STATE
Reactions are currently unavailable