chef-boneyard / knife-container

DEPRECATED: Container support for Chef's Knife Command
Apache License 2.0
57 stars 11 forks source link

default base image is set incorrectly #53

Open bpesics opened 9 years ago

bpesics commented 9 years ago
docker build -t bpesics/base-chef-container:devel .
FROM debian:8

## install prerequisites
RUN apt-get update -y && \
  apt-get install -y --no-install-recommends \
    ca-certificates \
    curl \
    && \
    echo 'gem: --no-ri --no-rdoc' > ~/.gemrc

## install chef-container
RUN curl -L https://getchef.com/chef/install.sh | bash -s -- -P container

## clean up
RUN rm -rf /tmp/* /var/tmp/*
Downloading base image: bpesics/base-chef-container:devel. This process may take awhile...
Tagging base image bpesics/base-chef-container as varnish

Context Created: /home/bpesics/projects/infrastructure/docker/dockerfiles/varnish

altough it says it tagged the image it does not

knife container docker build varnish -z --force
...
Step 0 : FROM varnish
Pulling repository varnish
2015/02/24 15:49:10 Error: image library/varnish not found
docker tag bpesics/base-chef-container:devel varnish

is this expected behavior?

swatiswjain commented 9 years ago

I am facing a similar issue.. It says its tagging base image by a particular name but it doesnt. Is there any workaround other than manually editing the Dockerfile