Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6168

Docker plugins are not recognized as commands when running without sudo

$
0
0

I'm running

  • Ubuntu 20.04.5 LTS
  • Docker version 23.0.1, build a5ee5b1

Running the command

docker build -t some:other Dockerfile

Produces the following output:

unknown shorthand flag: 't' in -t

And

docker build

The following:

docker: 'buildx' is not a docker command.

I installed Docker as recommended from the repo: instructions

Other plugins don't work either (docker compose is not recognized either). Even then, docker info shows

  buildx: Docker Buildx (Docker Inc.)    Version:  v0.10.2    Path:     /home/jpartanen/.docker/cli-plugins/docker-buildx  compose: Docker Compose (Docker Inc.)    Version:  v2.16.0    Path:     /home/jpartanen/.docker/cli-plugins/docker-compose  scan: Docker Scan (Docker Inc.)

Docker runs without sudo with the help of the docker user group, as explained in linux-postinstall. I want to run plugins without sudo as well.

I've reinstalled Docker and rebooted the machine without any change.What could be the problem?


Viewing all articles
Browse latest Browse all 6168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>