我正在尝试创建一个加莱拉码头镜像基于此dockerfile文件从这个链接http://galeracluster.com/documentation-webpages/docker.html
FROM ubuntu:14.04
MAINTAINER your name <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv BC19DDBA
RUN add-apt-repository 'deb http://releases.galeracluster.com/ubuntu trusty main'
RUN apt-get update
RUN apt-get install -y galera-3 galera-arbitrator-3 mysql-wsrep-5.6 rsync
COPY my.cnf /etc/mysql/my.cnf
ENTRYPOINT ["mysqld"]
但我得到这个错误
W: Failed to fetch http://releases.galeracluster.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
你能帮帮我吗!两周前我还能用呢!有主意吗??
1条答案
按热度按时间jutyujz01#
请更改您的加莱拉仓库地址。
这里- >运行add-apt-repository 'deb http://releases.galeracluster.com/ubuntu trusty main'
打开http://releases.galeracluster.com并确保加莱拉版本和发行版
选择您喜欢的版本和发行版并进行更改。