sonic-buildimage/platform/mellanox/docker-syncd-mlnx
Stephen Sun c700127101 [Mellanox]Take advantage of sdk variable to customize the location where sdk_socket exists. (#4223)
Take advantage of an SDK environment variable to customize the location where sdk_socket exists.
In the latest SDK sdk_socket has been moved from /tmp to /var/run which is a better place to contain this kind of file.
However, this prevents the subdirs under /var/run from being mapped to different volumes. To resolve this, we take advantage of an SDK variable to designate the location of sdk_socket.
This requires every process that requires to access sdk_socket have this environment variable defined. However, to define environment variable for each process is less scalable. We take advantage of the docker scope environment variable to avoid that.
It depends on PR 4227
2020-03-14 18:02:43 -07:00
..
base_image_files [Monit] Change the full process name of syncd in the monit config file. (#4033) 2020-02-03 15:36:24 -08:00
critical_processes [docker-syncd]: Restart SwSS, syncd and dependent services if a critical process in syncd container exits unexpectedly (#3534) 2019-11-09 10:26:39 -08:00
Dockerfile.j2 [Mellanox]Take advantage of sdk variable to customize the location where sdk_socket exists. (#4223) 2020-03-14 18:02:43 -07:00
start.sh [Mellanox] remove mlnx-sfpd (#3609) 2019-10-15 23:40:53 +03:00
supervisord.conf [Service] Enable/disable container auto-restart based on configuration. (#4073) 2020-02-13 16:20:21 -08:00