Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Releases: arista-netdevops-community/docker-avd-base

v2.0

18 Feb 19:09
0cb8d77
Compare
Choose a tag to compare

#v2.0

Enhancements

  • Use a non-root user to set uid and gid to fix shared volume issue (#10)
  • Add sudo program

New Features

  • Support custom uid & gid (#10)
❯ id
uid=501(titom73) gid=20(staff)

❯ docker run --rm -it -v ./docker-avd-base/:/projects \
	-e AVD_REQUIREMENTS=NONE \
	-e AVD_ANSIBLE= \
	-e AVD_UID=1001 \
	-e AVD_GID=1001 \
	-v /etc/hosts:/etc/hosts avdteam/base:3.6-v2.0

Requirement file not found, skipping...
Update uid for user avd with 1001
Update gid for group avd with 1001
Agent pid 53
➜  /projects git:(feature-uid) id
uid=1001(avd) gid=1001(avd) groups=1001(avd)
  • Add docker support
$ docker run -v /var/run/docker.sock:/var/run/docker.sock avdteam/base:3.6-v2.0 

➜  /projects docker ps
CONTAINER ID        IMAGE                          COMMAND                CREATED             STATUS              PORTS               NAMES
5263a914a21b        avdteam/base:3.6-feature-uid   "/bin/entrypoint.sh"   25 seconds ago      Up 5 seconds                            dazzling_lewin
cc75861382a2        avdteam/base:3.6               "/bin/entrypoint.sh"   16 hours ago        Up 16 hours                             stoic_chaum
f83a5bb5b716        avdteam/base:3.6               "/bin/entrypoint.sh"   16 hours ago        Up 16 hours                             nifty_mcnulty

Know limitations

  • AVD requirements are all installed under /home/avd/.local/bin: in case CI leverage root user, it is required to re-installed requirements.

v1.0

04 Dec 07:44
63d065d
Compare
Choose a tag to compare

v1.0

Features

  • Support shell with ZSH and oh-my-zsh
  • Install all AVD requirements
  • Support shared volumes under /projects
  • User is root

Known limitations

  • No docker-in-docker support
  • Some issues in shared volumes with Windows.