Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alter JupyterLab dockerfile to block target domain / IP from running contiainer #4648

Open
colelloa opened this issue May 1, 2024 · 0 comments

Comments

@colelloa
Copy link

colelloa commented May 1, 2024

Hi,

I'd like to be able to alter the sagemaker jupyterlab container to block a certain domain and IP address from being accessed by the jupyterlab user.

I see that aws/studio-lab-examples#118 is not possible, so I cannot use firewalld or iptables, and I cannot seem to get --add-host to work when building the container either. Of course, cannot alter /etc/hosts due to inherent docker functionality there.

Due to our cloud topology, it's unfortunately not possible to do this at the security groups level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant