Hello @Alexander Mamani Yucra,
welcome to this moderated Azure community forum.
I tried it myself using Docker Desktop in Windows.
As connection string, you need to provide a IoT Hub connectionstring, not connectionstring of a device (it will try to create one device name sim000001 in this case).
Iot Hub connection string. "Device" our "Iot Hub owner" scopes are good. Example: HostName=your-iothub-name.azure-devices.net;SharedAccessKeyName=device;SharedAccessKey=your-iothub-key
Unfortunately, this did not for me too, I got an "errorCode":401002,"message":"Unauthorized access"" too.
You can create an issue at https://github.com/Azure/iotedge so the Azure IoT team can take a look.
If you are in a hurry, just create a test device client application using one of the Device SDK samples.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.