@docker_ru

Страница 235 из 1375
Andrey
08.07.2017
13:43:29
А меня в камке не пустили в поезд до гамбурга

Я хотел достопримечательности поразглядывать, балаклава на случай если будет холодно, респ если машин будет много в пробках

Konstantin
08.07.2017
13:54:45
Google
Konstantin
08.07.2017
14:36:45
чтоза

кто-то юзает? может кто подтвердить, что работает?

これはスタスか…ロマンですか
08.07.2017
22:21:40
https://pastebin.com/BMKaNLW1

redis service is "getting invalid mount config for type "bind": bind source path does not exist"

any ideas? It's all on a single node, I got /data directory on it the visualizer service runs fine

Konstantin
08.07.2017
22:47:10
redis service is "getting invalid mount config for type "bind": bind source path does not exist"
there is no ./data directory on your host, as for compose v3 you have to create it first

btw, why do you need /data ? your redis doesn't use persistent storage, you have to pass cmd "--appendonly yes"

take a look at the image docs

Adward
08.07.2017
22:57:39
Амигос, доброй ночи. Мне порекомендовали Ваш чат, потому как у меня какие то траблы с установкой докера на убунту. В общем - работаю по инструкции с этого сайта: http://linux-notes.org/ustanovka-docker-na-debian-ubuntu/ однако во всех случаях (как минимум после apt-get update с ключами или без) - у меня вылетает вот такая хрень W: Failed to fetch http://ppa.launchpad.net/ethereum/ethereum/ubuntu/dists/wheezy/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/ethereum/ethereum/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/wheezy/stable/source/Sources The requested URL returned error: 404 W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/wheezy/stable/binary-amd64/Packages The requested URL returned error: 404 E: Some index files failed to download. They have been ignored, or old ones used instead.

ну тоесть, установка не выполняется. так как быть то :-\

порекомендуйте решение plz

これはスタスか…ロマンですか
08.07.2017
23:03:13
btw, why do you need /data ? your redis doesn't use persistent storage, you have to pass cmd "--appendonly yes"
It's based on example here: https://docs.docker.com/get-started/part5/#persist-the-data

Google
これはスタスか…ロマンですか
08.07.2017
23:05:44
nvm, changing to /data helped, I just wasn't restarting correctly(doing deploy, without rm)

Adward
08.07.2017
23:06:35
быть то как теперь % ))

Konstantin
08.07.2017
23:07:47
yeah
But it uses /data on root of host system

これはスタスか…ロマンですか
08.07.2017
23:07:56
Konstantin
08.07.2017
23:08:25
быть то как теперь % ))
Там битая репа, зайди на оффф сайт

これはスタスか…ロマンですか
08.07.2017
23:09:05
But it uses /data on root of host system
I guess, the idea of the example I based this one was to have it common for all 5 redis instances and persist even if they are removed

Konstantin
08.07.2017
23:09:27
yep
Doesn't look nice, it's garbage, choose dedicated dir for containers

I pref /opt/docker

これはスタスか…ロマンですか
08.07.2017
23:09:59
Doesn't look nice, it's garbage, choose dedicated dir for containers
dood, it's literally just a simple exercise to learn basics

Konstantin
08.07.2017
23:10:30
これはスタスか…ロマンですか
08.07.2017
23:11:23
Most importantly, there are a couple of things in the redis specification that make data persist between deployments of this stack: redis always runs on the manager, so it’s always using the same filesystem. redis accesses an arbitrary directory in the host’s file system as /data inside the container, which is where Redis stores data. Together, this is creating a “source of truth” in your host’s physical filesystem for the Redis data. Without this, Redis would store its data in /data inside the container’s filesystem, which would get wiped out if that container were ever redeployed. This source of truth has two components: The placement constraint you put on the Redis service, ensuring that it always uses the same host. The volume you created that lets the container access ./data (on the host) as /data (inside the Redis container). While containers come and go, the files stored on ./data on the specified host will persist, enabling continuity.

Konstantin
08.07.2017
23:11:34
これはスタスか…ロマンですか
08.07.2017
23:12:47
Use separate dir! Do it! ?
I'm literally going to delete the whole VM in a day or so

Konstantin
08.07.2017
23:13:44
Start to learn in proper way, so you will be reinstall docker dir only, not whole server

これはスタスか…ロマンですか
08.07.2017
23:14:52
tell that to docker staff

Google
Konstantin
08.07.2017
23:16:40
これはスタスか…ロマンですか
08.07.2017
23:16:55
who wrote that tutorial iI linked

Konstantin
08.07.2017
23:16:58
talk to myself? ?

これはスタスか…ロマンですか
08.07.2017
23:17:22
you wrote it?

Konstantin
08.07.2017
23:17:34
don't rely on tutorials, use docs

これはスタスか…ロマンですか
08.07.2017
23:17:57
Im not relying on it

Im exploiting it

Konstantin
08.07.2017
23:19:36
1. that tut looks like outdated, official redis image doesn't use persistent storage by default, you have to enable it 2. ther is dir "./data", it means "data" in current folder, where docker-compose.yml and you have to create it first

これはスタスか…ロマンですか
08.07.2017
23:20:07
weird, cause it didnt work when I created /root/data

Konstantin
08.07.2017
23:20:40
make dedicated folder for user docker files, like /opt/docker and cd into it

make project dir and cd into it

use this dir as context dir

これはスタスか…ロマンですか
08.07.2017
23:21:34
Konstantin
08.07.2017
23:21:38
rm -rf /opt/docker && mkdir /opt/docker and you have clean os :)

これはスタスか…ロマンですか
08.07.2017
23:21:47
/opt Optional application software packages

Konstantin
08.07.2017
23:22:18
dude, you use root fs for trash, why you scare to use /opt then? :D

これはスタスか…ロマンですか
08.07.2017
23:22:48
I don't get what this will gain

what benefit will this bring

Konstantin
08.07.2017
23:23:55
it's example, you can create dedicated dir wherever you want, just make it dedicated so you can easily remove trash later

Google
Konstantin
08.07.2017
23:24:15
これはスタスか…ロマンですか
08.07.2017
23:24:26
Admin
ERROR: S client not available

Konstantin
08.07.2017
23:24:35
it's root fs

これはスタスか…ロマンですか
08.07.2017
23:24:41
so is /opt

Konstantin
08.07.2017
23:25:10
it's not docker subject anyway, sorry

これはスタスか…ロマンですか
08.07.2017
23:25:18
yes, it's not

Konstantin
08.07.2017
23:26:19
btw, it's russian channel, is there no english channel for docker ?

これはスタスか…ロマンですか
08.07.2017
23:26:36
don't think so

Konstantin
08.07.2017
23:26:41
lol

これはスタスか…ロマンですか
08.07.2017
23:26:46
I only found a guy called GNU/Docker

Konstantin
08.07.2017
23:26:58
yeah, I see :D

gnu/windows ...ahaha

これはスタスか…ロマンですか
08.07.2017
23:27:19
I'm fine with russian, I just prefer english

Konstantin
08.07.2017
23:28:52
I don't mind, but it's russian channel, here is 900 members

Kaspar
09.07.2017
05:29:22
Privet Кто использует кубернетис в продакшн? Контейнеров многовато стало что-то

Нашёл чат кубернетис. Всем докер!

Кто IPv6 включал нормально? Гемор какой-то, конфиг в демоне править чтоб только включилось. Руками сеть прописывать.

Andrey
09.07.2017
07:21:35
Иди в куб (тм)

У докера по дефолту с 1.13 ipv6

Google
Andrey
09.07.2017
07:24:02
I'm fine with russian, I just prefer english
Just don't show off your English level, we can speak more languages than you can imagine, but give the community some respect.

Сам на куб сяду, докер на колени поставлю

Опять педоры набежали со шмузями

Kaspar
09.07.2017
07:29:44
У докера по дефолту с 1.13 ipv6
О, спасибо. Попробую

Опять педоры набежали со шмузями
Это ты меня пытаешься заиметь ввиду?

Andrey
09.07.2017
07:36:32
Молодой человек, здесь тематическая конфа про докер, а не ваш личный бенефис. Если есть вопросы про докер или компоуз - задавайте, если нет - шутите во дворе

Kaspar
09.07.2017
07:39:18
Хорошо папа

Страница 235 из 1375