File tree 3 files changed +5
-5
lines changed
test/images/volumes-tester/nfs
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM ubuntu:14.04
15
+ FROM centos
16
16
MAINTAINER Jan Safranek,
[email protected]
17
- ENV DEBIAN_FRONTEND noninteractive
18
- RUN apt-get update -qq && apt-get install -y nfs-kernel-server -qq
17
+ RUN yum -y install /usr/bin/ps nfs-utils && yum clean all
19
18
RUN mkdir -p /exports
20
19
ADD run_nfs.sh /usr/local/bin/
21
20
ADD index.html /exports/index.html
Original file line number Diff line number Diff line change 1
1
all : push
2
2
3
- TAG = 0.2
3
+ TAG = 0.3
4
4
5
5
container :
6
6
docker build -t gcr.io/google_containers/volume-nfs . # Build new image and automatically tag it as latest
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ function start()
31
31
/usr/sbin/rpc.mountd -N 2 -N 3 -V 4 -V 4.1
32
32
33
33
/usr/sbin/exportfs -r
34
- /usr/sbin/rpc.nfsd -N 2 -N 3 -V 4 -V 4.1 2
34
+ # -G 10 to reduce grace time to 10 seconds (the lowest allowed)
35
+ /usr/sbin/rpc.nfsd -G 10 -N 2 -N 3 -V 4 -V 4.1 2
35
36
36
37
echo " NFS started"
37
38
}
You can’t perform that action at this time.
0 commit comments