I would like to create a new container that has a new Network interface called cifx0.
I have created a Dockerfile including the entrypoint.
My Question is: can I build an entrypoint.sh file like this:
#!/bin/bash
ip link add cifx0 type bridge
ip link set cifx0 up
ip addr add (x.x.x.x)/24 dev cifx0
the image was created but when running the container it gave me error from entrypoint.