Tailscale version 1.16.0
Your operating system & version python:3.8-slim docker image
Hello!
I am trying to connect my containers, deployed in Azure ACI or in AWS EC2 Instances to my Tailscale network.
For Azure I have followed this tutorial:
I have been able to successfully make it work on Azure App Services. When I try to install it in my ACI the containers connect to the network, and are visible for other devices, but they can not open outbound connections.
When I ping my container from other device I get a correct response. But when I ping other devices from my container I don’t get any response, all the packages are lost.
This is my bash start script:
/tailscaled --tun=userspace-networking --socks5-server=localhost:1055 &
until /tailscale up --authkey=${TAILSCALE_AUTHKEY} --hostname=${TAILSCALE_NAME}
do
sleep 0.1
done
export ALL_PROXY=socks5://localhost:1055/
python3 /usr/local/lib/python3.8/site-packages/acuratio/jupyter_tf_init.py
And this is what I do in my Dockerfile:
ENV TSFILE=tailscale_1.16.0_amd64.tgz
RUN apt-get -y install wget
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && \
tar xzf ${TSFILE} --strip-components=1
RUN mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale
RUN chmod +x start.sh
CMD ["start.sh"]
Thank you