This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-19
Channels
- # beginners (17)
- # boot (7)
- # cider (1)
- # cljsrn (4)
- # clojure (22)
- # clojure-austin (19)
- # clojure-canada (1)
- # clojure-dusseldorf (1)
- # clojure-greece (3)
- # clojure-russia (19)
- # clojure-spec (46)
- # clojure-uk (23)
- # clojurescript (17)
- # core-async (7)
- # cursive (13)
- # dirac (66)
- # kekkonen (1)
- # lein-figwheel (2)
- # om (1)
- # onyx (2)
- # re-frame (1)
- # reagent (1)
- # specter (2)
Any idea’s on where i can start looking to resolve this?
➜ onyx-twitter-sample git:(master) ✗ docker-compose up
ERROR: Validation failed in file './docker-compose.yaml', reason(s):
Unsupported config option for peer: ‘shm_size’
I take it shm refers to /dev/shm and shared memory.
it seesms shm support was was added to docker in 1.10.0
and im beyond that...
➜ onyx-twitter-sample git:(master) ✗ docker-compose --version
docker-compose version 1.6.2, build 4d72027
➜ onyx-twitter-sample git:(master) ✗ docker --version
Docker version 1.10.3, build 20f81dd
This might be more of a docker question now that i’m getting closer to the answer.
➜ onyx-twitter-sample git:(master) ✗ lein do clean, uberjar; docker build -t peerimage .
Compiling lib-onyx.media-driver
Compiling twit.core
Created /Users/drewverlee/personal/onyx/onyx-twitter-sample/target/twit-0.1.0-SNAPSHOT.jar
Created /Users/drewverlee/personal/onyx/onyx-twitter-sample/target/peer.jar
Sending build context to Docker daemon 101.1 MB
Step 1 : FROM java:8-jre-alpine
8-jre-alpine: Pulling from library/java
fae91920dcd4: Pull complete
17b535817bef: Pull complete
bbfdca1c316e: Pull complete
Digest: sha256:992f040717540e53868912e82cdf00131b13890b17f6c0f57a8902e0eaad358d
Status: Downloaded newer image for java:8-jre-alpine
---> 6a8b77287171
Step 2 : MAINTAINER Gardner Vickers <[email protected]>
---> Running in 6ecc1efcb197
---> af63067174e7
Removing intermediate container 6ecc1efcb197
Step 3 : ADD /tmp/
Downloading [==================================================>] 926.3 kB/926.3 kB
---> 59ec8c479929
Removing intermediate container edbdd4adaf35
Step 4 : RUN tar xzf /tmp/s6-overlay-amd64.tar.gz -C /
---> Running in f0d6ceb203bd
---> c5e2070e97ae
Removing intermediate container f0d6ceb203bd
Step 5 : RUN apk add --update libgcc libstdc++ bash bash-doc bash-completion
---> Running in 8242a78455f9
fetch
fetch
(1/8) Installing ncurses-terminfo-base (6.0-r7)
(2/8) Installing ncurses-terminfo (6.0-r7)
(3/8) Installing ncurses-libs (6.0-r7)
(4/8) Installing readline (6.3.008-r4)
(5/8) Installing bash (4.3.42-r3)
Executing bash-4.3.42-r3.post-install
(6/8) Installing bash-completion (2.1-r2)
(7/8) Installing bash-doc (4.3.42-r3)
(8/8) Installing libstdc++ (5.3.0-r0)
Executing busybox-1.24.2-r8.trigger
OK: 118 MiB in 42 packages
---> 8eb29f1e547b
Removing intermediate container 8242a78455f9
Step 6 : ADD scripts/run_media_driver.sh /etc/services.d/media_driver/run
---> a2780a00557c
Removing intermediate container 34c4598829fd
Step 7 : ADD scripts/finish_media_driver.sh /etc/s6/media_driver/finish
---> 0825020e1384
Removing intermediate container 987fd72e1985
Step 8 : ADD scripts/run_peer.sh /opt/run_peer.sh
---> 25bfada1a27a
Removing intermediate container 6347db2a2971
Step 9 : ADD target/peer.jar /opt/peer.jar
---> e9419d3bfe95
Removing intermediate container 24f2596cbdc6
Step 10 : ENTRYPOINT /init
---> Running in 02f5f4e96b1e
---> 1b8114a58b9a
Removing intermediate container 02f5f4e96b1e
Step 11 : EXPOSE 3196 3197 3198 40200
---> Running in aa4fff13f43f
---> 25677b6aeaf5
Removing intermediate container aa4fff13f43f
Step 12 : EXPOSE 40200/udp
---> Running in 51b5f6a7cd07
---> 5baa783a89fc
Removing intermediate container 51b5f6a7cd07
Step 13 : CMD opt/run_peer.sh
---> Running in 5675e58e47a9
---> 23eb72f3c42d
Removing intermediate container 5675e58e47a9
Successfully built 23eb72f3c42d
➜ onyx-twitter-sample git:(master) ✗ docker-compose up
ERROR: Validation failed in file './docker-compose.yaml', reason(s):
Unsupported config option for peer: ‘shm_size’
^ is concerning the onyx-twitter example. Slack wont let me edit the message