Skip to content
Discussion options

You must be logged in to vote

There is no difference between pasta and slirp4netns when it comes to creating/writing the hosts file (of course ips in the file might differ). We write the hosts file after the runtime creates the container (this is a recent change so this might be the cause for your chnage). Anyway running it as the startContainer hook should work. Of course at this moment you are already in the container namespace so there you need to open /etc/hosts directly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jontte75
Comment options

Answer selected by jontte75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants