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
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
On the Host
[root@cvp01 ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@cvp01 ~]#
[root@cvp01 ~]# su - avd
Last login: Fri Aug 12 10:16:00 UTC 2022 on pts/1
[avd@cvp01 ~]$ id
uid=1000(avd) gid=1000(avd) groups=1000(avd)
[avd@cvp01 ~]$
Keeping this issue until all-in-one readme is updated. For now please refer to the thread above and the following repository: https://github.com/arista-netdevops-community/avd-quickstart-containerlab
The avd-quickstart repository provides some good examples of changing UID to match the local user.
On the Host
[root@cvp01 ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@cvp01 ~]#
[root@cvp01 ~]# su - avd
Last login: Fri Aug 12 10:16:00 UTC 2022 on pts/1
[avd@cvp01 ~]$ id
uid=1000(avd) gid=1000(avd) groups=1000(avd)
[avd@cvp01 ~]$
[avd@cvp01 projects]$ sudo docker run --network host --rm -it -v $(pwd):/home/cvp/projects/ avdteam/avd-all-in-one
➜ (AVD 🐳) projects
➜ (AVD 🐳) projects id
uid=1000(avd) gid=1000(avd) groups=1000(avd),27(sudo)
➜ (AVD 🐳) projects ls
➜ (AVD 🐳) projects pwd
/home/avd/projects
➜ (AVD 🐳) projects ls -altr
ls: cannot access '..': Operation not permitted
ls: cannot access '.': Operation not permitted
total 0
d????????? ? ? ? ? ? ..
d????????? ? ? ? ? ? .
➜ (AVD 🐳) projects
AFAIK, UID/GUID are same for Unix avd user on Host as well as Guest.
is this older docker-ce issue ?
[root@cvp01 ~]# rpm -qa | grep docker
cvpi-docker-2022.1.1-2_1657716502.x86_64
docker-ce-18.03.1.ce-1.el7.centos.x86_64
[root@cvp01 ~]#
The text was updated successfully, but these errors were encountered: