Docker: enabled when creating VT-X / AMD machine

I am studying this tutorial

Doxerization flask with layout and machine - from local to cloud

When trying to create a virtual box using the command below

docker-machine create -d virtualbox dev;

I have the following error

Machine creation error: error during machine creation. This computer does not support VT-X / AMD. Enabling it in the BIOS is a must.

(Appendix: I run the ubuntu image in a virtual field. The physical host is a Windows machine. VT is VT-X/AMDenabled in both the BIOS and the virtual box.)

Reading here and there, it seems like normal behavior, because I'm trying to create a virtual box in a virtual box → Click here for an explanation

Which command should be used instead docker-machine?

Any ideas are more than welcome ...

. 3 @VonC . , ,

1) " "?

2) ubuntu, ?

3) debian, ?

+4
1

VM, ubuntu. - Windows-

-.

Linux ( , Windows CMD)

docker-machine create -d virtualbox dev

Ubuntu - ​​ .

-, ( Windows) v0.6.0-rc1/docker-machine_windows-amd64.exe docker-machine.exe .
: set VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ ( VirtualBox)

docker-machine -d virtualbox dev.

2) ubuntu, ?

, . .

3) debian, ?

Dockerfile, FROM debian:jessie (. ), (RUN, COPY,...): :

FROM debian:stable
RUN apt-get update && apt-get install -y --force-yes apache2
EXPOSE 80 443
VOLUME ["/var/www", "/var/log/apache2", "/etc/apache2"]
ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

(docker build .) (docker run).

+4

Source: https://habr.com/ru/post/1626008/


All Articles