Skip to content

Commit

Permalink
fix missing sudo before nsenter + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rimelek committed Feb 18, 2023
1 parent 307cee2 commit 162a9f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/advanced/kernel-namespaces-network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ The "ls" command isn't required here, but can show us that we indeed created a f

.. code-block:: bash
nsenter --net=/run/netns/test ip addr
sudo nsenter --net=/run/netns/test ip addr
The output will be

Expand Down Expand Up @@ -408,8 +408,8 @@ virtual machine created by `Multipass <https://multipass.run/>`_. By default, th
is `127.0.0.53`. Remember, that this IP address belongs to the loopback interface which is different in each
network namespace. In the network namespace of our PHP container there is no service listening on this IP address.

Solution 1: Change the configuration of on the host
+++++++++++++++++++++++++++++++++++++++++++++++++++
Solution 1: Change the configuration on the host
++++++++++++++++++++++++++++++++++++++++++++++++

.. danger::

Expand Down

0 comments on commit 162a9f4

Please sign in to comment.