About image base

hello

can i use the main host (ubuntu server destro) of my server as a base for docker/rancher container to create/run an image? rather than creating a base destro inside the container…