- Disable iptables
$ sudo vim /etc/docker/daemon.json
{
"iptables": false
}
| //this requires being able to run at kernel mode and assumes you're using MSVC | |
| //this also uses an unnamed structure for cr0_t, which is a nonstandard extension of the C language | |
| //data structure for cr0 | |
| typedef union _cr0_t | |
| { | |
| struct | |
| { | |
| uint64_t protection_enable : 1; |
$ sudo vim /etc/docker/daemon.json
{
"iptables": false
}
Here's my setup:
Complete up to the "Generate the cert" section in this gist
| #pragma once | |
| #include <windows.h> | |
| #include <string> | |
| inline std::wstring multi2wide(const std::string& str, UINT codePage = CP_THREAD_ACP) | |
| { | |
| if (str.empty()) | |
| { | |
| return std::wstring(); |
| CURLOPT_AUTOREFERER..............58 | |
| CURLOPT_BINARYTRANSFER...........19914 | |
| CURLOPT_RETURNTRANSFER...........19913 | |
| CURLOPT_COOKIESESSION............96 | |
| CURLOPT_CERTINFO.................172 | |
| CURLOPT_VERBOSE..................41 | |
| CURLOPT_CRLF.....................27 | |
| CURLOPT_DNS_USE_GLOBAL_CACHE.....91 | |
| CURLOPT_FAILONERROR..............45 |