Reputation: 12452
I would like to create a Dockefile as below
FROM <rhel6/7>
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN addgroup redis && useradd -g redis -ms /bin/bash redi
RUN mkdir /data && chown redis:redis /data
VOLUME /data
WORKDIR /data
# Copy the current directory contents into the container at /app
ADD . /data
# Run app.py when the container launches
CMD ["/usr/software/rats/bedrock/bin/python2.7", "/data/test_redis.py"]
what do i replace FROM <rhel6/7>
with?
Upvotes: 0
Views: 8302
Reputation: 396
I just ran into this problem too!
docker pull registry.access.redhat.com/rhel7-atomic
for exampleEverything could have been way easier but you know it's Red Hat...
Upvotes: 1
Reputation: 254916
As per the official guide from the Red Hat
FROM registry.access.redhat.com/rhel7/rhel
References:
Upvotes: 6