Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

docker: 'expose' is not a docker command. / expose failed to fetch metadata: exit status 1 #15

@blmille1

Description

@blmille1

I tried to follow along starting here: https://bloombergindustry.udemy.com/course/docker-mastery/learn/lecture/17085938#overview

It's a Docker Mastery course. The module is "Docker App and Image Packaging of Compose YAML."
I saw a link to this repo.

I'm trying to follow along with the commands on expose.

curl -sf https://raw.githubusercontent.com/lukaszlach/clip/master/docker-clip -o ~/.docker/cli-plugins/docker-clip
chmod +x ~/.docker/cli-plugins/docker-clip
docker info

shows

clip: Docker Client Plugins Manager (Łukasz Lach)
    Version:  v19.06.0
    Path:     /Users/REDACTED/.docker/cli-plugins/docker-clip
docker clip add lukaszlach/clips:expose
Installing client plugin from lukaszlach/clips:expose
expose: Pulling from lukaszlach/clips
dfe3f328527c: Pull complete
Digest: sha256:ab4eb409ef77cdbec1769d5b2b3e6af8741cb9988d05456394b5f25558b7c83e
Status: Downloaded newer image for lukaszlach/clips:expose
docker.io/lukaszlach/clips:expose
docker run --rm -tip 80:80 nginx 
docker expose 76acb29ca6d0 80
docker: 'expose' is not a docker command.

docker expose --help

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers
  ...
Invalid Plugins:
  expose      failed to fetch metadata: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions