Skip to content

Update docker ps cell to have bash cell magic#14

Open
kjw3 wants to merge 2 commits intoNVIDIA-AI-Blueprints:mainfrom
nvidia-kejones:main
Open

Update docker ps cell to have bash cell magic#14
kjw3 wants to merge 2 commits intoNVIDIA-AI-Blueprints:mainfrom
nvidia-kejones:main

Conversation

@kjw3
Copy link
Copy Markdown

@kjw3 kjw3 commented May 5, 2025

Updating the docker ps cell to add bash cell magic so that it will output correctly when run inside the Jupyter notebook.

Old way resulted in output like below:
image

New way with bash cell magic outputs like expected.
image

kjw3 added 2 commits May 5, 2025 12:44
The docker ps --format command does not run correctly when run inside the Jupyter Notebook. This command if copied and run in terminal, it will output appropriately.

If we add the `%%bash` cell magic, this cell will execute correctly inside the notebook.
Add bash cell magic to allow docker ps command to output correctly
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.

1 participant