Stop using dockerfile/* images
As per http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/ docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all users in our tree. Sadly this means a lot of published examples are now broken.
This commit is contained in:
@@ -7,7 +7,7 @@ desiredState:
|
||||
id: redis-master
|
||||
containers:
|
||||
- name: "master"
|
||||
image: "dockerfile/redis"
|
||||
image: "redis"
|
||||
command: "this is a bad command"
|
||||
labels:
|
||||
name: "redis-master"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"id": "redis-master",
|
||||
"containers": [{
|
||||
"name": "master",
|
||||
"image": "dockerfile/redis",
|
||||
"image": "redis",
|
||||
"command": "this is a bad command"
|
||||
}]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ desiredState:
|
||||
id: redis-master
|
||||
containers:
|
||||
- name: "master"
|
||||
image: "dockerfile/redis"
|
||||
image: "redis"
|
||||
command:
|
||||
- this
|
||||
- is
|
||||
|
||||
@@ -7,5 +7,5 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- args: "this is a bad command"
|
||||
image: dockerfile/redis
|
||||
image: redis
|
||||
name: master
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"containers": [
|
||||
{
|
||||
"name": "master",
|
||||
"image": "dockerfile/redis",
|
||||
"image": "redis",
|
||||
"args": "this is a bad command"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -12,5 +12,5 @@ spec:
|
||||
- an
|
||||
- ok
|
||||
- command
|
||||
image: dockerfile/redis
|
||||
image: redis
|
||||
name: master
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"version": "v1beta1",
|
||||
"containers": [{
|
||||
"name": "master",
|
||||
"image": "dockerfile/redis",
|
||||
"image": "redis",
|
||||
"env": [
|
||||
{
|
||||
"name": "REDIS_PASSWORD",
|
||||
|
||||
@@ -30,16 +30,16 @@ const (
|
||||
run_long = `Create and run a particular image, possibly replicated.
|
||||
Creates a replication controller to manage the created container(s).`
|
||||
run_example = `// Starts a single instance of nginx.
|
||||
$ kubectl run-container nginx --image=dockerfile/nginx
|
||||
$ kubectl run-container nginx --image=nginx
|
||||
|
||||
// Starts a replicated instance of nginx.
|
||||
$ kubectl run-container nginx --image=dockerfile/nginx --replicas=5
|
||||
$ kubectl run-container nginx --image=nginx --replicas=5
|
||||
|
||||
// Dry run. Print the corresponding API objects without creating them.
|
||||
$ kubectl run-container nginx --image=dockerfile/nginx --dry-run
|
||||
$ kubectl run-container nginx --image=nginx --dry-run
|
||||
|
||||
// Start a single instance of nginx, but overload the desired state with a partial set of values parsed from JSON.
|
||||
$ kubectl run-container nginx --image=dockerfile/nginx --overrides='{ "apiVersion": "v1beta1", "desiredState": { ... } }'`
|
||||
$ kubectl run-container nginx --image=nginx --overrides='{ "apiVersion": "v1beta1", "desiredState": { ... } }'`
|
||||
)
|
||||
|
||||
func NewCmdRunContainer(f *cmdutil.Factory, out io.Writer) *cobra.Command {
|
||||
|
||||
Reference in New Issue
Block a user