Skip to content

azure-cli-persistence not completeing #34

Description

@r1net-bhughesiii

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 ..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions