Skip to content

docker-sonic-alpinevs base code#37

Merged
sonikajindal merged 1 commit into
sonic-net:masterfrom
sreeiyer-1:lite1
Jul 9, 2026
Merged

docker-sonic-alpinevs base code#37
sonikajindal merged 1 commit into
sonic-net:masterfrom
sreeiyer-1:lite1

Conversation

@sreeiyer-1

@sreeiyer-1 sreeiyer-1 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Includes the makefile and docker-sonic-alpinevs directory

Loosely based on docker-sonic-vs

orchagent.sh, p4rt.sh and telemetry.sh, and their associated j2 files, are copies of the files present under sonic-buildimage/dockers. These are the starting points of the respective processes

config_db.json is currently embedded and has a fixed configuration

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

Includes the makefile and docker-sonic-alpinevs directory

Signed-off-by: Sreemoolanathan Iyer <sbiyer@google.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@sreeiyer-1 sreeiyer-1 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sonikajindal - Copied comments from #34 to here.

Comment thread docker-sonic-alpinevs/copp_cfg_alpinevs.j2
@@ -0,0 +1,2 @@
#!/bin/sh
exit 0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[sonikajindal] : What does this file do?

When 'show interfaces status' is executed, it calls get_routing_stack() in https://github.com/sonic-net/sonic-utilities/blob/9635c23a28bde82629b57b8c97bbae5481ddc159/show/main.py#L96 which has a 'docker ps' call.

Because of this in docker-sonic-alpinevs, 'show interface status' displays a 'docker: command not found" on the terminal before the actual output is printed (docker-sonic-vs prints that error). This is a dummy file to suppress that error message.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, lets add a comment in this file that this is dummy to support various "docker ps" calls which shud be a no-op in avs-lite

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add it in the next PR.

Comment thread docker-sonic-alpinevs/Dockerfile.j2
Comment thread docker-sonic-alpinevs/port_breakout_config_db.json
Comment thread docker-sonic-alpinevs/sai.profile
@sreeiyer-1
sreeiyer-1 marked this pull request as ready for review July 8, 2026 17:58
@sonikajindal
sonikajindal merged commit bb221c4 into sonic-net:master Jul 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants