docker guru ищется
Правила форума
Пожалуйста, ознакомьтесь с правилами данного форума
Пожалуйста, ознакомьтесь с правилами данного форума
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
docker guru ищется
кто нить разбирается и работал с докером? Я первый раз столкнулся, есть вопросы по инишал деплоемент.
Виртуалка на AWS и все остальное там же.
Спасибо
Виртуалка на AWS и все остальное там же.
Спасибо
-
- Маньяк
- Сообщения: 4866
- Зарегистрирован: 18 авг 2008, 14:51
Re: docker guru ищется
Немного опыта есть. Давай вопросы в студию. Да поможет нам коллективный разум .
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
ок завтра на работе все скину. спасибоborei писал(а):Немного опыта есть. Давай вопросы в студию. Да поможет нам коллективный разум .
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
Вообщем так:
Вот мануал:
To deploy CloudPoint using a Docker image
Create the instance or prepare the physical host to install CloudPoint.
If you deploy CloudPoint in a public cloud, do the following:
Choose an Ubuntu 16.04 Server LTS instance image that meets CloudPoint installation requirements.
Add sufficient storage to the instance to meet the installation requirements.
If you deploy CloudPoint on-premises, do the following:
Install Ubuntu 16.04 Server LTS on a physical x86 server.
Add sufficient storage to the server to meet the installation requirements.
1. Install Docker for Ubuntu. Enter the following: done
sudo apt-get install docker.io
If you have not done so already, create a volume and file system on the host to store CloudPoint metadata and asset metadata. The specific steps depend on your cloud environment.
Download the CloudPoint image (Veritas_CloudPoint_1.0.1_IE.img) from MyVeritas.
If necessary, copy the downloaded image to the machine on which you will deploy CloudPoint.
Load the image. Enter the following:
# sudo docker load -i /home/ubuntu/Veritas_CloudPoint_1.0.1_IE.img done
On the instance or physical host, make sure that the following ports are open:
443
CloudPoint user interface uses this port as the default HTTPS port.
5671
The RabbitMQ server uses this port for communications. This port must be open to support multiple agents.
If the instance is in a cloud, configure this information under Security Group > Inbound.
вот тут застрял что то непонятно....
Run the CloudPoint container. Enter the following:
# sudo docker run --name container_name -it -d \
-v full_path_to_volume_name \
-p host_port:container_port \
-p host_port:container_port loaded_image
For example:
# sudo docker run --name CloudPoint -it -d -v /cloudpoint:/cloudpoint \
-p 443:443 -p 5671:5671 veritas/cloudpoint:1.0.1
If you do not specify the volume as -v full_path_to_volume_name/full_path_to_volume_name , the container writes to the Docker host file system.
Open your browser and point it to the host on which CloudPoint is installed.
https://ubuntu_docker_host_name
The configuration screen is displayed and the host name is added to the list of hosts on which to configure CloudPoint.
Вот мануал:
To deploy CloudPoint using a Docker image
Create the instance or prepare the physical host to install CloudPoint.
If you deploy CloudPoint in a public cloud, do the following:
Choose an Ubuntu 16.04 Server LTS instance image that meets CloudPoint installation requirements.
Add sufficient storage to the instance to meet the installation requirements.
If you deploy CloudPoint on-premises, do the following:
Install Ubuntu 16.04 Server LTS on a physical x86 server.
Add sufficient storage to the server to meet the installation requirements.
1. Install Docker for Ubuntu. Enter the following: done
sudo apt-get install docker.io
If you have not done so already, create a volume and file system on the host to store CloudPoint metadata and asset metadata. The specific steps depend on your cloud environment.
Download the CloudPoint image (Veritas_CloudPoint_1.0.1_IE.img) from MyVeritas.
If necessary, copy the downloaded image to the machine on which you will deploy CloudPoint.
Load the image. Enter the following:
# sudo docker load -i /home/ubuntu/Veritas_CloudPoint_1.0.1_IE.img done
On the instance or physical host, make sure that the following ports are open:
443
CloudPoint user interface uses this port as the default HTTPS port.
5671
The RabbitMQ server uses this port for communications. This port must be open to support multiple agents.
If the instance is in a cloud, configure this information under Security Group > Inbound.
вот тут застрял что то непонятно....
Run the CloudPoint container. Enter the following:
# sudo docker run --name container_name -it -d \
-v full_path_to_volume_name \
-p host_port:container_port \
-p host_port:container_port loaded_image
For example:
# sudo docker run --name CloudPoint -it -d -v /cloudpoint:/cloudpoint \
-p 443:443 -p 5671:5671 veritas/cloudpoint:1.0.1
If you do not specify the volume as -v full_path_to_volume_name/full_path_to_volume_name , the container writes to the Docker host file system.
Open your browser and point it to the host on which CloudPoint is installed.
https://ubuntu_docker_host_name
The configuration screen is displayed and the host name is added to the list of hosts on which to configure CloudPoint.
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
В quick start вот что пишут на этом шаге
On the instance, open the following ports:
443 CloudPoint user interface uses this port as the default HTTPS port.
5671 The RabbitMQ server uses this port for communications. This port must be open to support multiple agents.
6 Run the CloudPoint container.
# sudo docker docker run -it --rm -v /volume_name:/path_to_volume -v /var/run/docker.sock:/var/run/docker.sock veritas/cloudpoint_image install
--restart always
https://www.veritas.com/content/support ... sg_for_aws
On the instance, open the following ports:
443 CloudPoint user interface uses this port as the default HTTPS port.
5671 The RabbitMQ server uses this port for communications. This port must be open to support multiple agents.
6 Run the CloudPoint container.
# sudo docker docker run -it --rm -v /volume_name:/path_to_volume -v /var/run/docker.sock:/var/run/docker.sock veritas/cloudpoint_image install
--restart always
https://www.veritas.com/content/support ... sg_for_aws
- Stanislav
- Mr. Minority Report
- Сообщения: 43464
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby
Re: docker guru ищется
Совершенно согласен - сам в непонятках - нафуа аттачить tty и тут же его детачить?Vims писал(а): вот тут застрял что то непонятно....
Run the CloudPoint container. Enter the following:
# sudo docker run --name container_name -it -d \
-v full_path_to_volume_name \
-p host_port:container_port \
-p host_port:container_port loaded_image
For example:
# sudo docker run --name CloudPoint -it -d -v /cloudpoint:/cloudpoint \
-p 443:443 -p 5671:5671 veritas/cloudpoint:1.0.1
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
мне так кажется надо сделать контейнер в докере. Но как пока не понял... и потом его запустить вообщем с трансляцией действий глаза-руки пока напряг от недостатка знаний в пространстве между ними
- Stanislav
- Mr. Minority Report
- Сообщения: 43464
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby
Re: docker guru ищется
погоди, погоди - ты уже имаж загрузил... не надо ничего делать...Vims писал(а):мне так кажется надо сделать контейнер в докере. Но как пока не понял... и потом его запустить вообщем с трансляцией действий глаза-руки пока напряг от недостатка знаний в пространстве между ними
Сделай:
sudo docker images
у тебя должен быть имаж с именем veritas/cloudpoint и тэгом 1.0.1
Потом сделай:
sudo mkdir /cloudpoint
sudo docker run --name CloudPoint -d --restart always -v /cloudpoint:/cloudpoint -p 443:443 -p 5671:5671 veritas/cloudpoint:1.0.1
BTW, sudo - если ты не root, а если root, то sudo не надо
Потом проверь:
sudo docker ps
должен появить контейнер с именем CloudPoint
- Stanislav
- Mr. Minority Report
- Сообщения: 43464
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby
Re: docker guru ищется
Так, вот с этим погоди... зачем тебе сокет прокидывать в контейнер?Vims писал(а): # sudo docker docker run -it --rm -v /volume_name:/path_to_volume -v /var/run/docker.sock:/var/run/docker.sock veritas/cloudpoint_image install
--restart always
- Stanislav
- Mr. Minority Report
- Сообщения: 43464
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby
Re: docker guru ищется
Вообще на AWS есть готовый имаж виртуалки с докеромVims писал(а): 1. Install Docker for Ubuntu. Enter the following: done
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
сча попробую
я рут. это я понял про судо
я рут. это я понял про судо
- Stanislav
- Mr. Minority Report
- Сообщения: 43464
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby
Re: docker guru ищется
ты крут!Vims писал(а):я рут
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
root@ip-172-16-0-146:/# docker run --name CloudPoint -d -v /cloudpoint:/cloudpoint -p 443:443 -p 5671:5671 veritas/cloudpoint:1.0.1
Unable to find image 'veritas/cloudpoint:1.0.1' locally
docker: Error response from daemon: repository veritas/cloudpoint not found: does not exist or no pull access.
See 'docker run --help'.
Unable to find image 'veritas/cloudpoint:1.0.1' locally
docker: Error response from daemon: repository veritas/cloudpoint not found: does not exist or no pull access.
See 'docker run --help'.
- Vims
- Northern Yeti
- Сообщения: 21314
- Зарегистрирован: 17 фев 2003, 15:53
- Откуда: Magadan - Vancouver
- Контактная информация:
Re: docker guru ищется
directory сделал
- Stanislav
- Mr. Minority Report
- Сообщения: 43464
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby
Re: docker guru ищется
А кто писал:Vims писал(а):root@ip-172-16-0-146:/# docker run --name CloudPoint -d -v /cloudpoint:/cloudpoint -p 443:443 -p 5671:5671 veritas/cloudpoint:1.0.1
Unable to find image 'veritas/cloudpoint:1.0.1' locally
docker: Error response from daemon: repository veritas/cloudpoint not found: does not exist or no pull access.
See 'docker run --help'.
# sudo docker load -i /home/ubuntu/Veritas_CloudPoint_1.0.1_IE.img
done
Так доне или не доне???
Что сказал:
docker images
?