Difference between revisions of "Containers and virtual machines"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
m (adding link to window capture of VM Linux additions config.)
m (Comment out older top-of-page links)
 
(124 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
<!--
 
<center>
 
<center>
[[Unix_and_Linux_config|Unix and Linux config]] :: [[Containers_and_virtual_machines|Containers]] :: [[Compute_clusters|Clusters]] :: &lt;link&gt;
+
[[Containers_and_virtual_machines|Containers]] :: [[RTOS|RTOS Notes]] :: [[Compute_clusters|Clusters]] :: [[Unix_and_Linux_config|Unix and Linux config]]
 
</center>
 
</center>
 
+
-->
  
 
== [[#top|^]] Container Software ==
 
== [[#top|^]] Container Software ==
  
Notes on Docker containerizing software.  Note, to get a practical start it is a good and or needed step to create a user account with Docker dot com.  Single user and free accounts with some advanced Docker features disabled are available.  A good starting tutorial for beginners is written by one Brian Hogan of Digital Ocean, this article published 2018 July 5.  First reference in list here:
+
A promising starting point, collection of six articles / tutorials on Docker containers:
<ul>
 
*  https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
 
*  https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes  Remove Docker image
 
</ul>
 
Ted noting too there may be a daily limit to the number of docker images which a user with a free account can push to Docker's image repository.  Docker's image repository provides URLs of the form <code>https://hub.docker.com/u/&lt;user_name&gt;</code>, where username is the given person's Docker account user name.
 
  
<!-- comment -->
+
(1) https://medium.com/sysf/docker/home
  
Containers, Kubernetes . . .
+
A general note following about three days' Docker container experimentation, and to question "should I be using a Docker container interactively, running multiple apps, some simultaneously?". <i>(Note the following forum post chain is a quagmire of issues and opinions!)</i>:
<ul>
 
*  https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
 
</ul>
 
  
Not a container per se but a virtual machine software:
+
(2) https://news.ycombinator.com/item?id=7950326
https://www.virtualbox.org/wiki/Downloads
 
  
<!-- comment -->
+
== [[#top|^]] Docker ==
  
== [[#top|^]] Oracle Corporation VirtualBox software ==
+
Notes on Docker containerizing software.  Note, to get a practical start it is a good and or needed step to create a user account with Docker dot com.  Single user and free accounts with some advanced Docker features disabled are available.  A good starting tutorial for beginners is written by one Brian Hogan of Digital Ocean, this article published 2018 July 5.  First reference in list here:
  
VirtualBox on-line manual
 
 
<ul>
 
<ul>
*  https://www.virtualbox.org/manual/ch01.html#virt-why-useful
+
[https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04 Docker on Ubuntu 18.04 LTS]
Some important VM terms include,
+
[https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 Docker on Ubuntu 20.04 LTS]
<ul>
+
https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes  Remove Docker image
host OS  . . . the OS on which VirtualBox software runs
+
2023-06-07:
guest OS  . . . the OS which runs inside a VirtualBox VM instance
+
[https://collabnix.com/how-to-fix-cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock-error-message/ Docker cannot connect, blog by Ajeet Raina]
virtual machine  . . . the hosting environment which VirtualBox creates for given guest OS
 
 
</ul>
 
</ul>
  
To set up shared folders in VirtualBox instances, see VirtualBox documentation chapter 4 at the first following URL.  There are also some needed steps detailed in same Oracle documentation, chapter 2, second URL here:
+
<center>
*  https://www.virtualbox.org/manual/ch04.html
+
- - - [[#top|top of page]] - - -
*  https://www.virtualbox.org/manual/ch02.html#externalkernelmodules
+
</center>
 
 
[[File:executing-VBoxLinuxAdditions-dot-run.PNG]]
 
 
 
To configure port forwarding, for ssh from host OS to guest OS:
 
*  https://nsrc.org/workshops/2014/btnog/raw-attachment/wiki/Track2Agenda/ex-virtualbox-portforward-ssh.htm
 
 
 
Where VirtualBox stores its files . . .
 
*  https://docs.oracle.com/en/virtualization/virtualbox/6.0/admin/vboxconfigdata.html
 
 
 
<!-- comment -->
 

Latest revision as of 14:50, 26 January 2026


^ Container Software

A promising starting point, collection of six articles / tutorials on Docker containers:

(1) https://medium.com/sysf/docker/home

A general note following about three days' Docker container experimentation, and to question "should I be using a Docker container interactively, running multiple apps, some simultaneously?". (Note the following forum post chain is a quagmire of issues and opinions!):

(2) https://news.ycombinator.com/item?id=7950326

^ Docker

Notes on Docker containerizing software. Note, to get a practical start it is a good and or needed step to create a user account with Docker dot com. Single user and free accounts with some advanced Docker features disabled are available. A good starting tutorial for beginners is written by one Brian Hogan of Digital Ocean, this article published 2018 July 5. First reference in list here:

- - - top of page - - -