Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

docker-push command not found #5

Open
gowrisankar22 opened this issue Sep 16, 2016 · 3 comments
Open

docker-push command not found #5

gowrisankar22 opened this issue Sep 16, 2016 · 3 comments

Comments

@gowrisankar22
Copy link

Hi,
when i do the docker-push i get command not found error. Can you tell me how can i solve this issue?

C:\Users\i307955>cf docker-push hello-nodejs
'docker-push' is not a registered command. See 'cf help'

cf version:
cf version 6.21.1+6fd3c9f-2016-08-10

C:\Users\i307955>cf plugins
Listing Installed Plugins...
OK

Plugin Name Version Command Name Command Help
Diego-Enabler 1.2.1 enable-diego Migrate app to the Diego runtime
Diego-Enabler 1.2.1 disable-diego Migrate app to the DEA runtime
Diego-Enabler 1.2.1 has-diego-enabled Report whether an app is configured to run on the Diego runtime
Diego-Enabler 1.2.1 diego-apps Lists all apps running on the Diego runtime that are visible to the user
Diego-Enabler 1.2.1 dea-apps Lists all apps running on the DEA runtime that are visible to the user
Diego-Enabler 1.2.1 migrate-apps Migrate all apps to Diego/DEA

BRs, Gowrisankar

@homerakshay
Copy link

@gowrisankar22 Hello Shankar,
Can you put more light on the enitre setup of docker which you have currently setup. Also are you trying to refer to a normal docker-repo or your own private-registry?

Regards,
Akshay

@emalm
Copy link

emalm commented Sep 16, 2016

Hi, @gowrisankar22,

If you intend to push a Docker image as a CF app, that is now incorporated into the core CF CLI via the -o flag to cf push. Here's the relevant text from cf help push:

$ cf help push
...
OPTIONS:
   --docker-image, -o           Docker-image to be used (e.g. user/docker-image-name)

Best,
Eric, CF Runtime Diego PM

@gowrisankar22
Copy link
Author

Thanks a lot .. it works fine now .. :)
Now i have pushed a docker image to a cloud foundry and running as cf app and it works fine .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants