Docker Community Forums

Share and learn in the Docker community.

Docker network error when running docker image

I have created a docker image from the Dockerfile below

Dockerfile content

FROM ubuntu:18.04

RUN apt-get -y update \
&& apt-get install -y libmysqlclient-dev \
&& apt-get install -y libevent-dev
# Set the Current Working Directory inside the container
WORKDIR /app

# Copy the source from the current directory to the Working Directory inside the container
COPY . .

# Command to run the executable
CMD ["./smf"]

When I run the image (docker run smfcore), I get the errors below. An idea about these error messages. I have stack for 2 days now trying to get my application run. Any help?

cat /var/log/syslog produce

May 28 01:03:17 cumucore systemd-udevd[17905]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May 28 01:03:17 cumucore systemd-udevd[17906]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.5332] manager: (vethe519a86): new Veth device (/org/freedesktop/NetworkManager/Devices/61)
May 28 01:03:17 cumucore systemd-udevd[17906]: Could not generate persistent MAC address for veth3e13cd3: No such file or directory
May 28 01:03:17 cumucore systemd-udevd[17905]: Could not generate persistent MAC address for vethe519a86: No such file or directory
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.5345] manager: (veth3e13cd3): new Veth device (/org/freedesktop/NetworkManager/Devices/62)
May 28 01:03:17 cumucore kernel: [ 8366.717232] docker0: port 1(veth3e13cd3) entered blocking state
May 28 01:03:17 cumucore kernel: [ 8366.717234] docker0: port 1(veth3e13cd3) entered disabled state
May 28 01:03:17 cumucore kernel: [ 8366.717380] device veth3e13cd3 entered promiscuous mode
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.5417] devices added (path: /sys/devices/virtual/net/veth3e13cd3, iface: veth3e13cd3)
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.5417] device added (path: /sys/devices/virtual/net/veth3e13cd3, iface: veth3e13cd3): no ifupdown configuration found.
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.5450] devices added (path: /sys/devices/virtual/net/vethe519a86, iface: vethe519a86)
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.5450] device added (path: /sys/devices/virtual/net/vethe519a86, iface: vethe519a86): no ifupdown configuration found.
May 28 01:03:17 cumucore containerd[1092]: time="2020-05-28T01:03:17.563367863+03:00" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/0bd3a8e6ee9327a788a640e56daec898e6d96f20b96d5a9d6a52f9a41bf8b854/shim.sock" debug=false pid=17918
May 28 01:03:17 cumucore kernel: [ 8366.897244] eth0: renamed from vethe519a86
May 28 01:03:17 cumucore kernel: [ 8366.909546] IPv6: ADDRCONF(NETDEV_CHANGE): veth3e13cd3: link becomes ready
May 28 01:03:17 cumucore kernel: [ 8366.909769] docker0: port 1(veth3e13cd3) entered blocking state
May 28 01:03:17 cumucore kernel: [ 8366.909775] docker0: port 1(veth3e13cd3) entered forwarding state
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.7331] devices removed (path: /sys/devices/virtual/net/vethe519a86, iface: vethe519a86)
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.7343] device (veth3e13cd3): carrier: link connected
May 28 01:03:17 cumucore NetworkManager[994]: <info>  [1590616997.7349] device (docker0): carrier: link connected
May 28 01:03:17 cumucore gnome-shell[2990]: Removing a network device that was not added
May 28 01:03:17 cumucore gnome-shell[1619]: Removing a network device that was not added
May 28 01:03:18 cumucore containerd[1092]: time="2020-05-28T01:03:18.015414553+03:00" level=info msg="shim reaped" id=0bd3a8e6ee9327a788a640e56daec898e6d96f20b96d5a9d6a52f9a41bf8b854
May 28 01:03:18 cumucore dockerd[2163]: time="2020-05-28T01:03:18.026336884+03:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
May 28 01:03:18 cumucore kernel: [ 8367.220239] docker0: port 1(veth3e13cd3) entered disabled state
May 28 01:03:18 cumucore kernel: [ 8367.220495] vethe519a86: renamed from eth0
May 28 01:03:18 cumucore systemd-udevd[18011]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
May 28 01:03:18 cumucore NetworkManager[994]: <info>  [1590616998.1114] manager: (vethe519a86): new Veth device (/org/freedesktop/NetworkManager/Devices/63)
May 28 01:03:18 cumucore kernel: [ 8367.298028] docker0: port 1(veth3e13cd3) entered disabled state
May 28 01:03:18 cumucore kernel: [ 8367.302785] device veth3e13cd3 left promiscuous mode
May 28 01:03:18 cumucore kernel: [ 8367.302795] docker0: port 1(veth3e13cd3) entered disabled state
May 28 01:03:18 cumucore NetworkManager[994]: <info>  [1590616998.1652] devices added (path: /sys/devices/virtual/net/vethe519a86, iface: vethe519a86)
May 28 01:03:18 cumucore NetworkManager[994]: <info>  [1590616998.1652] device added (path: /sys/devices/virtual/net/vethe519a86, iface: vethe519a86): no ifupdown configuration found.
May 28 01:03:18 cumucore NetworkManager[994]: <info>  [1590616998.1653] devices removed (path: /sys/devices/virtual/net/vethe519a86, iface: vethe519a86)
May 28 01:03:18 cumucore NetworkManager[994]: <info>  [1590616998.1654] devices removed (path: /sys/devices/virtual/net/veth3e13cd3, iface: veth3e13cd3)
May 28 01:03:18 cumucore NetworkManager[994]: <info>  [1590616998.1673] device (veth3e13cd3): released from master device docker0
May 28 01:03:18 cumucore gnome-shell[2990]: Removing a network device that was not added
May 28 01:03:18 cumucore gnome-shell[1619]: Removing a network device that was not added
May 28 01:03:18 cumucore gnome-shell[2990]: Removing a network device that was not added
May 28 01:03:18 cumucore gnome-shell[1619]: Removing a network device that was not added