[docker-iccp]: do not mount kernel module into iccp container (#4372)
kernel module should be loaded outside container Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
60b16495cc
commit
296470de25
@ -231,9 +231,6 @@ start() {
|
|||||||
{%- if docker_container_name != "database" %}
|
{%- if docker_container_name != "database" %}
|
||||||
-v /usr/share/sonic/device/$PLATFORM/$HWSKU/$DEV:/usr/share/sonic/hwsku:ro \
|
-v /usr/share/sonic/device/$PLATFORM/$HWSKU/$DEV:/usr/share/sonic/hwsku:ro \
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if docker_container_name == "iccpd" %}
|
|
||||||
-v /lib/modules:/lib/modules:ro \
|
|
||||||
{%- endif %}
|
|
||||||
{%- if sonic_asic_platform != "mellanox" %}
|
{%- if sonic_asic_platform != "mellanox" %}
|
||||||
--tmpfs /tmp \
|
--tmpfs /tmp \
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Reference in New Issue
Block a user