sonic-buildimage/platform/mellanox/docker-syncd-mlnx
Stephen Sun 7d0570c517
[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-09 12:36:56 -07:00
..
base_image_files [Monit] Change the full process name of syncd in the monit config file. (#4033) 2020-01-22 17:00:49 -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-09 12:36:56 -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-07 12:34:07 -08:00