SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Getting Started with Database containers


Getting Started with Database containers

Author
Message
Steve Jones
Steve Jones
SSC Guru
SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)

Group: Administrators
Points: 650087 Visits: 21472
Comments posted to this topic are about the item Getting Started with Database containers

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
reece.watkins 16343
reece.watkins 16343
SSC Rookie
SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)

Group: General Forum Members
Points: 29 Visits: 13
You should probably cover using a Docker Volume for persistent/shareable storage options.
Bruno Campos
Bruno Campos
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 90
Agreed with reece.watkins 16343.
It would be good to cover persistent storage and how this can greatly help with patching.
Steve Jones
Steve Jones
SSC Guru
SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)

Group: Administrators
Points: 650087 Visits: 21472
Persistent volumes is a separate item. This was just to help people get started.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
sqlfriends
sqlfriends
SSC-Forever
SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)

Group: General Forum Members
Points: 48943 Visits: 4782
Thanks Steve for this easy to understand article for beginners for docker.

One question: the docker in this example is for windows desktop ,just curious , if using a Linux laptop, is there a docker for Linux desktop to download? And it has to use Linux version not windows correct?

Thanks
Steve Jones
Steve Jones
SSC Guru
SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)

Group: Administrators
Points: 650087 Visits: 21472
I used Docker for Windows, though I'm running Linux containers with the WSL (Windows subsystem for Linux).

For Linux, depends on OS. There is a docker application which adds the engine, a client, and a daemon server.
Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
Redhat: https://www.unixarena.com/2018/06/how-to-install-docker-on-redhat-linux-rhel-centos.html/

Others, Google for what to do. Basically add a key for the docker repository, then yum, apt-get, etc. Mac, there's an equivalent docker client.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
sqlfriends
sqlfriends
SSC-Forever
SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)

Group: General Forum Members
Points: 48943 Visits: 4782
Thanks Steve. That is good to know
sqlfriends
sqlfriends
SSC-Forever
SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)

Group: General Forum Members
Points: 48943 Visits: 4782
Hi Steve,
I would like to learn Linux as a DBA, not necessarily for SQL server, but for all databases like SQLserver, mySQL, oracle, Postgresql,
I want to download a copy of Unix for my workstation. Windows 10 enterprise.

Should I use docker and container or should I use virtualbox?
I'd like it to be more lightweight and efficient, this is just for my learning experiment?

Thanks,
Steve Jones
Steve Jones
SSC Guru
SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)SSC Guru (650K reputation)

Group: Administrators
Points: 650087 Visits: 21472
If you want to learn Unix/Linux, I'd install a VM and practice there. Working inside a container is OK, but you're slightly crippled, so you don't really learn. The Stairway to SQL Server on Linux has a level that's getting started with the OS.
http://www.sqlservercentral.com/articles/SQL+Server+on+Linux/176220/
There is also a good series on Simple Talk. Need to do a similar one here. - https://www.red-gate.com/simple-talk/sql/sql-linux/how-to-linux-for-sql-server-dbas-part-1/

If you just want to play with the applications, like Oracle, PostgreSQL, etc., containers make this easy. I'd run Docker for Windows with Linux containers and then pull the containers that you need for Oracle, etc.


Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
sqlfriends
sqlfriends
SSC-Forever
SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)

Group: General Forum Members
Points: 48943 Visits: 4782
Thanks much Steve for the resources and recommendations.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search