-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Probably a niche case here. I use a MacBook Pro M1. When I create a devcontainer with this feature and I am using regular arm64 settings azure-cli-persistence works fine. But, due to the nature of my job, I need to run these containers forcing docker to use AMD64. The azure-cli-persistence gets as far as renaming the old existing folder but does not complete the rest of the way. I determined this by running both architectures and when I do an az login under amd64, I get the below message because /dc/azure is empty.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/azure/cli/core/_session.py", line 37, in load
with open(self.filename, 'r', encoding=self._encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/vscode/.azure/azureProfile.json'
❯ ls -al /dc/azure [.]
total 8
drwxr-xr-x 2 root root 4096 Oct 30 04:05 .
drwxr-xr-x 4 root root 4096 Oct 30 04:05 ..