$HOME/data/cvd for the Dev Container to mount as the ClamAV database directory. See below for setup instructions.ssh-agent must be running to share Git credentials with the container. See below for setup instructions.UID environment variable must be set to export your user's ID. See below for setup instructions.Create a database directory for sharing signature files from the host to the dev container:
mkdir -p $HOME/data/cvd
Place any ClamAV signature files in this directory that you want to make available to the dev container.
Tip: If you want to change this directory, edit the path in the
devcontainer.jsonfile. Or, if you want to install signature files on the container itself, comment out the line that mounts this directory in thedevcontainer.jsonfile.
UID user ID environment variable.For Bash shell, edit $HOME/.bashrc. Or for Zsh, edit $HOME/.zshrc. Add the following:
export UID=$(id -u)
Source this file (e.g. run source $HOME/.bashrc or source $HOME/.zshrc) to apply this change in your current shell. Or open a new terminal.
Dev Containers: Reopen in Container