Docker:network "host" is specified multiple times

docker:network “host” is specified multiple times

this is the problem that I got.
waiting for your help~~~

Without knowing what you typed there is no way we can help you.

alias camera=‘dir_name="$(date +%Y-%m-%d_%H-%M-%S)" && \mkdir -p /home/nvidia/Desktop/$dir_name/datasets && \tx2-docker run -e TZ=America/New_York --net host --privileged -v /dev/bus/usb:/dev/bus/usb -v /home/nvidia/Desktop/$dir_name:/root/rdpgo_ws/src/robust_distributed_slam_module/scripts/log -it lajoiepy/doorslam-realsensed435-tx2-dji camera $MASK $MASTER $OWN_IP $LOCAL_ROBOT_ID camera’

this is saved in .bashrc.

I type “camera”,and I got that problem.
I

我遇到了同样的问题,但是我发现我的在命令敲了两次"–net=host",当我删除掉一个后就恢复了正常,希望能帮到你。

@reform please translate your response into English.