In Docker, "Error response from daemon: could not choose an IP address to advertise since this system has multiple addresses on different interfaces"

It looks like you have two active network interfaces, one on enp1s0 and another on wlp2s0. I'd guess enp1s0 is an Ethernet connection and wlp2s0 is a WiFi connection.

As mentioned in the question you linked to, if you have multiple addresses on different interfaces, you have to specify one with --advertise-addr. In your case, you're essentially choosing between your Ethernet and WiFi interfaces.