Update docker ps cell to have bash cell magic#14
Open
kjw3 wants to merge 2 commits intoNVIDIA-AI-Blueprints:mainfrom
Open
Update docker ps cell to have bash cell magic#14kjw3 wants to merge 2 commits intoNVIDIA-AI-Blueprints:mainfrom
kjw3 wants to merge 2 commits intoNVIDIA-AI-Blueprints:mainfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:

New way with bash cell magic outputs like expected.
