Mount volume or EFS/NFS share inside docker


I am trying to create a source connector (generic python) which needs access to AWS EFS Share or a folder on Host Airbyte system. Does anyone know if I can mount a volume or get EFS share mounted inside docker container? It doesnt seem that you can mount volumes during build.

Also, I’ve learned that Alpine 3.16 has support for efs-tools package which is used for mounting AWS EFS shares. During mount process, it correctly establishes NFS connection to EFS IP but after that I just get error “Operation not permitted”. Any advice would be nice. Thanks

bash-5.1# mount -v -t efs -o tls,iam fs-xxx /data
Could not start amazon-efs-mount-watchdog, unrecognized init system "sh"
stunnel: LOG5[ui]: stunnel 5.64 on x86_64-alpine-linux-musl platform
stunnel: LOG5[ui]: Compiled with OpenSSL 1.1.1n  15 Mar 2022
stunnel: LOG5[ui]: Running  with OpenSSL 1.1.1q  5 Jul 2022
stunnel: LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,OCSP,PSK,SNI
stunnel: LOG5[ui]: Reading configuration from file /run/efs/
stunnel: LOG5[ui]: UTF-8 byte order mark not detected
stunnel: LOG5[ui]: Configuration successful
stunnel: LOG5[0]: Service [efs] accepted connection from
stunnel: LOG5[0]: s_connect: connected 172.x.x.x:2049
stunnel: LOG5[0]: Service [efs] connected remote server from
b'mount.nfs4: Operation not permitted'
stunnel: LOG5[0]: Certificate accepted at depth=0: CN=*
stunnel: LOG3[0]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
stunnel: LOG5[0]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket

Hey could you create a github issue on this so that team can look and get back to you