Ruby Snack #59: Intro to Docker

preview_player
Показать описание
Folks have been asking me for a while to do a series on Docker. Well, I finally dove into numerous docs and tutorials to share my take on what makes Docker different and how to install it on Ubuntu.

Рекомендации по теме
Комментарии
Автор

Thanks Melissa, great intro and overview of docker. Subscribed!

MikeChilson
Автор

chmod +x /usr/local/bin/docker-compose

mechlsd
Автор

Hi guys! First of all let me thank you, Melissa, for bringing us so much light in this area.

I wanted to help all of you in the docker-compose installation step. If you copy and paste the lines shown in the video your system may not recognize the docker-compose command. After doing some web search I found this option (three commands):




sudo mv /usr/local/bin/docker-compose /usr/bin/docker-compose


sudo chmod +x /usr/bin/docker-compose

After this you can type:
docker-compose --version

and see the version of Compose in your terminal screen.

Hope this info was useful!

lucascamino
Автор

Awsem ;) and thanks for the hint Melissa you are awsem <👏

louyalsadi
Автор

Thank you so much for the easy going up with ROR can you please help on Rspec initialize method for non typical function like file extension type accepted !
Also your videos helped me go up as junior ROR developer :)

louyalsadi
Автор

Thanh you so much Melissa!
This is part of waht in my controller to approve file ext from the customer :] how can I test this code using initialize method I am new for Rspec :)
def file_exe(file_path)
file_name = File.basename ("#{file_path}").downcase
file_extension = File.extname (file_name).downcase
if file_extension == ".pdf"
return "application/PDF", file_name
else
return false
end
end

louyalsadi