Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflict container name #108

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on May 5, 2023

  1. Update run.sh

    before starting a container make sure there is not a container with same name already running
    
    docker: Error response from daemon: Conflict. The container name "/sc-trident2-saivs-run" is already in use by container "63d8f188ed76c35ca04e64ce6cf89b2e50bfb72a08b67820272c3d8900f90656". You have to remove (or rename) that container to be able to reuse that name.
    Signed-off-by: Mircea Dan <mircea-dan.gheorghe@keysight.com>
    mgheorghe committed May 5, 2023
    Configuration menu
    Copy the full SHA
    f7f59b2 View commit details
    Browse the repository at this point in the history
  2. force remove the containers fore starting

    add -f flag to rm command to make sure container gets removed even if it is not stopped
    
    alternatively we could stop it before rm
    
    Signed-off-by: Mircea Dan <mircea-dan.gheorghe@keysight.com>
    mgheorghe committed May 5, 2023
    Configuration menu
    Copy the full SHA
    492a7fb View commit details
    Browse the repository at this point in the history