Debian 10 docker5/8/2023 You can get list of all docker subcommands by issuing below command: docker Run the below command to verify that you have added docker group : id -nG tecnstuff sudo docker How to Use Docker Command #īelow is the basic syntax for the docker command: docker You should run below command to add user to docker group: sudo usermod -aG docker $USERĪfter that, Log out and log back in to apply membership. The docker group is created at the installation of docker CE package. If you want to run docker command without sudo then you need to add your user to docker group. You also can check the version of Docker using below command: docker -v Docker version 19.03.1, build 74b1e89 Executing docker command without sudo #īy default, Docker required sudo privileges to run. └─4485 /usr/bin/dockerd -H fd:// -containerd=/run/containerd/containerd.sockĪt the time of writing, the latest stable version of Docker is 19.03.1. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 08:36:43 UTC 12min ago rvice - Docker Application Container Engine.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |