From 0afbccb5b80b6d0ce509e536c90bd2951c5fe763 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Wed, 20 Jul 2022 08:51:50 +0100 Subject: [PATCH] prefer to use name --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c458acc..b53cdd6 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,15 @@ Finally, you can install any packages from BioArchLinux ## Enter container -If the container is stoped, `container_id` can be replaced with `container_name` +If the container is stoped, `container_name` can be replaced with `container_id` ``` -# docker restart container_id -# docker exec -it container_id /bin/bash +# docker restart container_name +# docker exec -it container_name /bin/bash ``` -If the container is running, `container_id` can be replaced with `container_name` +If the container is running, `container_name` can be replaced with `container_id` ``` -# docker exec -it container_id /bin/bash +# docker exec -it container_name /bin/bash ``` ## Get container information ```